Franz Joseph was the eldest son of Archduke Francis Charles and Sophia, daughter of Maximilian I of Bavaria. As his uncle Emperor Ferdinand (I) was childless, Franz Joseph was educated as heir presumptive. When revolution broke out in the Austrian Empire, Franz Joseph was proclaimed emperor at age 18 in December 1848, after Ferdinand’s abdication.