Stockholm during the Age of Liberty (1718-1772) is the period in the history of Stockholm when Sweden was governed by weak kings and a strong Riksdag where the Hats and Caps were fighting each other for influence. The Age of Grand Power ended with Great Northern War, the death of Charles XII, the Stockholm treaties of 1719 and 1720.