Saint Petersburg

The Marble Palace, built for Catherine II by her favorite Grigory Orlov, was home to Stanisław II August, King of Poland, from 1797 until his death.

An excerpt from the article 37 facts about Saint Petersburg

The last king of Poland was buried after his death in St. Petersburg on February 12, 1798, in the Church of St. Catherine on the Nevsky Prospekt. He rested there until 1938.