Latakia or Latakiyah is the principal port city of Syria, as well as the capital of the Latakia Governorate. In addition to serving as a port, the city is a manufacturing center for surrounding agricultural towns and villages. Its population in 2002 was 402,000 and consisted of Sunnis, Alawites and Greek Orthodox Christians. Though the site has been inhabited since the second millennium BCE, the modern-day city was first founded in the 4th century BCE under the rule of the Seleucid empire. Latakia was subsequently ruled by the Romans, then the Ummayads and Abbasids in the 8th 10th centuries. Under their rule, the Byzantines frequently attacked the city, periodically capturing it before losing it again to the Arabs, particularly the Fatimids. Afterward, Latakia was ruled by the Seljuk Turks, Crusaders, Ayyubids, Mamluks, and Ottomans. Following World War I, Latakia was assigned to the French mandate of Syria, in which it served as the capital of the autonomous territory of the Alawites. This autonomous territory became the State of Alawites in 1922, proclaiming its independence a number of times until reintegrating into Syria in 1944.