Карл X Густав
After the Treaty of Roskilde in 1658, king Charles X Gustav of Sweden gave the castle to a commandant of Malmö, Johan von Essen. In 1660, Charles XI gave it to Gabriel Oxenstierna. From 1694, it became the residence for the Governors-General of Sweden in Scania.