and his two sons moved to Ludwigsburg Palace. He made sure that his sons' educators were from Württemberg and their education, at the behest of their father, was regulated and very strict. Charles Eugene, Duke of Württemberg died on 24 October 1793. He had ruled for 56 years and as he had no legitimate offspring, the duchy passed to his brothers, Louis Eugene in 1793, then two years later to Frederick II Eugene, who was Frederick William's grandfather. Frederick William's father thus became Hereditary Prince (Erbprinz) in 1795, then Duke on 23 December 1797. In 1797, Duke Frederick's father married Charlotte, Princess Royal, the daughter of King George III of Great Britain. They then began to look for a wife for Frederick William and potential brides included the Holy Roman Emperor's sister, Archduchess Maria Amalia, and the Grand Duchesses Alexandra Pavlovna and Maria Pavlovna. Duke Frederick's relationship with his son also deteriorated. Frederick William often rebelled against his upbringing and his father. In 1799, Frederick William's escape plans were discovered and his father had him temporarily arrested. After his release, Frederick William began studying at the University of Tübingen. After the War of the Second Coalition erupted and France marched under Napoleon in the spring of 1800, Frederick William, who had joined as a volunteer in the Austrian army, participated in the Battle of Hohenlinden in December 1800. In 1803 he attained the rank of Imperial Major General. Contemporaries have credited him with profound military knowledge, courage and bravery. After returning to Württemberg in 1801, Frederick William and his brother Paul began liaisons with the daughters of the landscape architect, Konradin von Abel. Frederick William fell in love with Therese von Abel, four years his senior. At that time there were clashes between Duke Frederick and the Estates of Württemberg (the Landstände) on domestic and foreign policy issues. Konradin von Abel represented the foreign policy interests of the estates and was supported by Frederick William, who moved against the interests of his father's policies. In 1803 Frederick William fled Württemberg to Paris, Vienna, Schaffhausen and Saarburg. In Saarburg, Therese gave birth to twins, who died shortly after birth. Now Elector of Württemberg, Frederick wanted to bring his son back to Württemberg. Frederick William went in October to Paris, where he was received on 14 October by Napoleon. Elector Frederick prevented the planned marriage of his son with Therese von Abel