During the early Middle Ages, the city experienced a decline, then recovered under the later Byzantine Empire and was relatively prosperous during the period of the Crusades (12th and 13th centuries), benefiting from Italian trade. Following a period of sharp decline under the rule of the Ottoman Empire, Athens re-emerged in the 19th century as the capital of the independent and self-governing Greek state.