Barakzai dynasty
During the Delhi Sultanate era, the Pashtun Lodi dynasty replaced the Turkic rulers in North India. Some ruled from the Bengal Sultanate. Majority Pashtuns fought the Safavids and Mughals before obtaining an independent state in the early 18th century, which began with a successful revolution by Mirwais Hotak followed by conquests of Ahmad Shah Durrani. The Barakzai dynasty played a vital role during the Great Game from the 19th century to the 20th century as they were caught between the imperialist designs of the British and Russian empires. Pashtuns are the largest dominion ethnic group in Afghanistan and ruled as the dominant ethno-linguistic group for over 300 years.