I want to know the answer to the following question:
What Empire neighbored and had a rivalry with Safavid Iran?
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: no