Frederick IV spent many happy years at the palace. In 1716, he received the Russian czar Peter the Great at Frederiksberg Palace and in 1721, shortly after the death of his first wife, Queen Louise, he married his mistress Anne Sophie Reventlow there. Christian VII who was married to the English princess Caroline Matilda also spent some time in the palace. Their son, who was to become Frederick VI, loved the palace and lived there both as crown prince and as king.