Scania, eventually became an official part of Sweden after a treaty in Stockholm of 3 July 1720, although Scania had been divided into two counties, Malmöhus County (labeled after the Castle Malmöhus) and Kristianstad County already in the year before.