 He attended the university in Bonn, and then began a military career.In 1843 he was third in line for the Danish throne after the King's son and brother, Prince Ferdinand.On 28 January 1844, Frederick married Grand Duchess Alexandra Nikolaevna of Russia at St Petersburg.