from Najd and Morocco, had also moved to the town. The city's demographics changed dramatically after the Ottoman government's decision to construct the Hejaz Railway, which linked Damascus and Medina, and facilitated the annual Hajj pilgrimage and trade. Operational in central Transjordan since 1903, the Hejaz Railway helped to transform Amman from a small village into a major commercial hub in the region. Circassian entrepreneurship, facilitated by the railway, helped to attract investment from merchants from Damascus, Nablus, and Jerusalem, many of whom moved to Amman in the 1900s and 1910s. Amman's first municipal council was established in 1909, and Circassian Ismael Babouk was elected as its mayor. The First and Second Battle of Amman were part of the Middle Eastern theatre of World War I and the Arab Revolt, taking place in 1918. Amman had a strategic location along the Hejaz Railway; its capture by British forces and the Hashemite Arab army facilitated the British advance towards Damascus. The second battle was won by the British, resulting in the establishment of the British Mandate. In 1921, the Hashemite emir and later king Abdullah I designated Amman instead of al-Salt to be the capital of the newly created state, the Emirate of Transjordan, which became the Hashemite Kingdom of Jordan in 1950. Its function as the capital of the country attracted immigrants from different Levantine areas, particularly from al-Salt, a nearby city that had been the largest urban settlement east of the Jordan River at the time. The early settlers who came from Palestine were overwhelmingly from Nablus, from which many of al-Salt's inhabitants had originated. They were joined by other immigrants from Damascus. Amman later attracted people from the southern part of the country, particularly al-Karak and Madaba. The city's population was around 10,000 in the 1930s. The British report from 1933 shows around 1,700 Circassians living in Amman. Yet the community was far from insulated. Local urban and nomadic communities formed alliances with the Circassians, some of which are still present today. This cemented the status of Circassians in the re-established city. Jordan gained its independence in 1946 and Amman was designated the country's capital. Amman received many refugees during wartime events in nearby countries, beginning with the 1948 Arab–Israeli War. A second wave arrived after the Six-Day War in 1967. In 1970, Amman was a battlefield during the conflict between the Palestine Liberation Organization (PLO) and the