Potsdam

Many distinguished guests stayed in the palace next to the king.

An excerpt from the article 24 facts about Potsdam

Voltaire is said to have lived there. There is also a hypothesis that Bishop Ignacy Krasicki wrote the famous Monachomachia (War of the Monks) in the Sanssouci palace.

Sanssouci Palace was a palace sans femmes (without women). Frederick's wife, Elizabeth Krystyna Braunschweig-Bevern, from whom the king had been separated since he ascended the throne in 1740, lived in Berlin, in Schönhausen Palace.