tribe of Kandahar Province, gained independence from the Safavid Persians. From 1722 to 1725, his son Mahmud Hotak briefly ruled large parts of Iran and declared himself as Shah of Persia. However, the Hotak dynasty came to a complete end in 1738 after being toppled and banished by the Afsharids who were led by Nader Shah Afshar of Persia. The year 1747 marks the definitive appearance of an Afghan political entity independent of both the Persian and Mughal empires. In July of that year a loya jirga (grand council) was called into session. The jirga lasted for nine days and two chief contestants emerged: Hajji Jamal Khan of the Mohammadzai lineage and Ahmad Khan of the Sadozai. Mohammad Sabir Khan, a noted darwish (holy man), who had earlier predicted that Ahmad Khan would be the leader of the Afghans, rose in the jirga and said Ahmad Khan reputedly hesitated to accept the open decision of the jirga, so Sabir Khan again intervened. He placed some wheat or barley sheaves in Ahmad Khan's turban, and crowned him Badshah, Durr-i-Dauran (Shah, Pearl of the Age). The jirga concluded near the city of Kandahar with Ahmad Shah Durrani being selected as the new leader of the Afghans, thus the Durrani dynasty was founded. Despite being younger than the other contenders, Ahmad Shah had several overriding factors in his favor. He belonged to a respectable family of political background, especially since his father had served as Governor of Herat who died in a battle defending the Afghans. Early victories One of Ahmad Shah's first military actions was to capture Qalati Ghilji and Ghazni from the Ghilji, and wrest Kabul and Peshawar from Mughal-appointed governor Nasir Khan. In 1749, the Mughal Emperor Ahmad Shah Bahadur was induced to cede Sindh, the Punjab region and the important trans Indus River to Ahmad Shah Durrani in order to save his capital from Afghan attack. Having thus gained substantial territories to the east without a fight, Ahmad Shah turned westward to take possession of Mashhad, which was ruled by Nader Shah Afshar's grandson, Shahrukh Afshar. Ahmad Shah next sent an army to subdue the areas north of the Hindu Kush mountains. In short order, the powerful army brought under its control the Tajik, Hazara, Uzbek, Turkmen, and other tribes of northern Afghanistan. Ahmad Shah invaded the remnants of the Mughal Empire a third time, and then a fourth,