In Swedish and Finnish history, the Age of Liberty is a half-century-long period of parliamentary governance and increasing civil rights, beginning with Charles XII's death in 1718 and ending with Gustav III's self-coup in 1772. The shift of power from monarch to parliament was a direct effect of the Great Northern War, which was disastrous for Sweden.