under Karl XI : s regering.