In 1806, Sultan Selim III, encouraged by the Russian defeat at Austerlitz and advised by the French Empire, deposed the pro-Russian Constantine Ypsilanti as Hospodar of the Principality of Wallachia and Alexander Mourousis as Hospodar of Moldavia, both Ottoman vassal states.