The Wallachian prince Michael the Brave, after previously taking over Transylvania, also deposed Prince Ieremia Movilă, in 1600, and managed to become the first Prince to rule over Moldavia, Wallachia, and Transylvania; the episode ended in Polish conquests of lands down to Bucharest, soon ended by the outbreak of the Polish–Swedish War and the reestablishment of Ottoman rule. Polish incursions were dealt a blow by the Ottomans during the 1620 Battle of Cecora, which also saw an end to the reign of Gaspar Graziani.