Mehmed II advanced toward Eastern Europe as far as Belgrade, and attempted to conquer the city from John Hunyadi at the Siege of Belgrade in 1456. Hungarian commanders successfully defended the city and Ottomans retreated with heavy losses but at the end, Ottomans occupied nearly all of Serbia.