After initial Persian success in recapturing Baghdad and most of modern Iraq, having lost it for several years, the war became a stalemate as the Persians were unable to press further into the Ottoman Empire, and the Ottomans themselves were distracted by wars in Europe and weakened by internal turmoil.