Macau was under Portuguese rule from the establishment of the first official Portuguese settlement in 1557 until its handover to China in 1999. It comprised the Municipality of Macau and the Municipality of Ilhas. Macau was both the first and last European holding in China.
Macau's history under Portugal can be broadly divided into three distinct political periods. The first was the establishment of the Portuguese settlement in 1557 to 1849. The Portuguese had jurisdiction over the Portuguese community and certain aspects of the territory's administration but no real sovereignty. Next came the colonial period, which scholars generally place from 1849 to 1974.