The political history of the modern state of Afghanistan began with the Hotak and Durrani dynasties in the 18th century. In the late 19th century, Afghanistan became a buffer state in the “Great Game” between British India and the Russian Empire. Following the Third Anglo-Afghan War in 1919, King Amanullah unsuccessfully attempted to modernize the country. Afghanistan remained peaceful during Zahir Shah’s forty years of monarchy.