An oasis that was the residence of the Ibn Saud family, it became the capital when the country was formed in 1932
In the words of 
Lewis Pelly, the British resident in the ... regaining his family's former capital, 
Riyadh.