The Jordanian monarchy was set up in 1921. The sons of Hussein bin Ali, the Sharif of Mecca from 1908 until 1916, were set up as kings of Iraq and Jordan. In Jordan, Abdullah I was made Emir of Transjordan, a post he held from 11 April 1921 until Transjordan was granted independence on 25 May 1946 as the Hashemite Kingdom of Transjordan. Abdullah was crowned the country's first king. The country's name was shortened to the Hashemite Kingdom of Jordan on 3 April 1949, after the 1948 Arab–Israeli War.