Complex sentence: In 1722 Pashtun rebels headed by the Hotakis of Kandahar defeated Shah Sultan Hossein and ended the Safavid Dynasty, but in 1735, Nader Shah successfully drove out the Pashtuns from Isfahan and established the Afsharid Dynasty.
Split into simpler sentences: In 1722 Pashtun rebels headed by the Hotakis of Kandahar defeated Shah Sultan Hossein and ended the Safavid Dynasty. In 1735, Nader Shah successfully drove out the Pashtuns from Isfahan and established the Afsharid Dynasty.