Frederick William was educated by private tutors. He served in the army during the War of Liberation against Napoleon I of France in 1814, but he was not interested in the army. He loved both architecture and landscape gardening and was a patron of several great German artists, such as architect Karl Friedrich Schinkel and the composer Felix Mendelssohn. He married Elisabeth Ludovika of Bavaria in 1823, but the couple had no children.