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.