In 1787 the Ottomans demanded that Russia vacate the Crimea. Russia declared war, but Ottoman preparations were inadequate and the moment was ill-chosen, now that Russia and Austria were in alliance, a fact that came to light only after events were already in motion. The Turks drove back the Austrians from Mehadia and overran the Banat (1789); but in Moldavia Field-Marshal Pyotr Rumyantsev was successful and captured Iaşi and Khotin. Ottoman generals were incompetent and the army mutinous; expeditions for the relief of Bender and Akkerman failed, Belgrade was taken by the Austrians, The Russian army under the command of Alexander Suvorov defeated the Turks in the battle of Rymnik and captured Izmail. The fall of Anapa completed the series of Ottoman disasters. The Russian Black Sea Fleet, created just a few years erlier, under the command of Admiral Ushakov, inflicted a series of defeats on the Turkish fleet and seized the initiative in the Black Sea.