Emperor Ferdinand I fled to Olomouc in Moravia. On December 2, 1848, Ferdinand abdicated in favor of his nephew Franz Joseph.