Task: Question Generation
Input (English): Passage: Eberhard Louis left no heirs and was succeeded by Charles Alexander. Charles Alexander ended funding for the palace, dismissed its staff, and moved the capital back to Stuttgart in 1733 to modernize Württemberg's army and fortifications. As central figures in the construction of what was now decried as the "sin palace", Frisoni and Paolo Retti were arrested in 1733 on fraudulent charges of embezzlement. The two men were acquitted in 1735 after they paid a hefty fine to the ducal treasury, despite attempted intervention by the Margrave of Ansbach to free them earlier. Frisoni died in Ludwigsburg on 29 November 1735. Charles Alexander himself died suddenly two years later on 12 March 1737 as he prepared to leave Ludwigsburg Palace to inspect the duchy's fortresses. After his death, the nine-year-old Charles Eugene became Duke, beginning a regency that lasted until 1744.Charles Eugene began the construction of a new palace in Stuttgart in 1746 but unofficially used Ludwigsburg as his residence until 1775. The function of certain rooms at Ludwigsburg changed frequently; Johann Christoph David von Leger converted the Ordenskapelle to a Lutheran church from 1746 to 1748 for Duchess Elisabeth Fredericka Sophie. Beginning in 1757 and lasting into the next year, the suites of the beletage were extensively modified by Philippe de La Guêpière. La Guêpière completed the Schlosstheater in 1758–59, adding a stage, machinery, and the auditorium. A wooden opera house, adorned with mirrors, was constructed in 1764–65, located east of the Alter Hauptbau. Although Charles Eugene officially declared Ludwigsburg Palace his residence in 1764, he made no further modifications after 1770. The palace that had hosted a court that Giacomo Casanova called "the most magnificent in Europe" began a steady decline. Charles Eugene died without a legitimate heir in 1793 and was succeeded by his brother, Frederick II Eugene, who was succeeded by his son Frederick II in 1797. Ludwigsburg Palace had already been Frederick II's summer residence since 1795, and he continued to use it as such with Duchess Charlotte after marrying her on 18 May 1797.
Output (English): What was the name of the person Frederick II married?