Czar Paul I of Russia and his wife Sophie Dorothea of Württemberg, one of Charles Eugene's nieces, visited the castle in 1775. When Charles Eugene died in 1793, New Palace was given more much needed repairs. 1789 saw the completion of the City Wing and the Garden Wing in 1791 during the rule of Frederick II Eugene, Duke of Württemberg (construction elsewhere could continue into the 19th Century). In 1806, as the palace was finally nearing completion, Napoleon Bonaparte visited the New Palace. Eleven years later, von Thouret redecorated some of the rooms of the Red Marble Hall during the visit of Czar Alexander I. When Duke and then King Frederick I died, William I moved the seat of his power back to the New Palace and hired Giovanni Salucci and later his pupil Ferdinand Gabriel and charged them with renovating the palace's Grey and Yellow Marble Halls in 1836. In 1840 and 1841 and from 1852 to 1854, the court painter Josef Anton Gegenbauer painted three frescoes in the rooms created next to the staircase on the ground floor with scenes from the history of the Duchy and the Kingdom of Württemberg. Under Duke Charles I and his wife Olga only minor changes were made to the castle, mainly made in the royal living area and by Joseph von Egle were executed. William II renounced the residency of the Dukes in the New Palace, and the palace was somewhat opened to the public for the first time. Use after 1918 After Wilhelm II of Württemberg abdicated his throne on November 30, 1918, the palace passed into state ownership. In 1919, the German Foreign Institute used the ground floor and some of the garden wing to house their offices and showrooms and some of the first and second floors became the headquarters for the local police. In the early 1920s, nearly the entire first floor became a museum displaying the royal Kunstkammer, majolica collection, and former living places of the kings of Württemberg. On 15 April 1920, Richard von Weizsäcker, future President of Germany, was born in the attic of the palace. When the German Foreign Institute moved out in 1928, the remaining unused portions of the palace were converted into German military and ancient antiquity museums. When the police headquarters moved out in 1926, the second floor housed the offices of the antiquities collection and historic preservation authorities. In