I want to know the answer to the following question:
Who was the last Safavid ruler who was defeated in 1722 by the Pashtuns in Isfahan?
All the background I'm provided with is that "Following a gradual decline in the late 1600s and early 1700s, which was caused by the internal conflicts, the continuous wars with the Ottomans, and the foreign interference (most notably the Russian interference), the Safavid rule was ended by the Pashtun rebels who besieged Isfahan and defeated Soltan Hosein in 1722.". Is that enough to answer the question?
Answer: yes