and son-in-law respectively, who were followed by Diego Carlone in 1718. In 1721, the duke began to run out of room in the Alter Hauptbau for the functions of his court and Frisoni began planning to enlarge it. The duke dismissed the idea in 1724 and ordered Frisoni to construct the Neuer Hauptbau. Frisoni designed a four-story structure, double the height of the existing palace, but plans changed several times after construction began in 1725 atop the first terrace of the south garden. Frisoni settled on a three-story building that still afforded Eberhard Louis six rooms for his suite to the three in the Alter Hauptbau. To connect the Neuer Hauptbau to the existing palace, Frisoni built the Bildergalerie and Festinbau on the west side, and the Ahnengalerie and Schlosstheater (Palace theater) on the east. The Bildergalerie and Ahnengalerie were decorated from 1731 to 1733. With the exception of the interiors of the Neuer Hauptbau and Schlosstheater, all work was finished in 1733, but Eberhard Louis died that same year. Only a few rooms in the west end of the Neuer Hauptbau had been completed when he died. Construction of the Neuer Hauptbau and its connecting galleries cost 465,000 guilders and was managed by Paolo Retti, who at times had more than 650 stone masons, cutters, and basic laborers working on the facades between 1726 and 1728. Construction of Ludwigsburg Palace cost the Duchy of Württemberg 3,000,000 florins. Residence 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