378316
A vocal opponent of , as he saw it , abuses by the nobility of a permissiveness established by parliamentarian reforms that had been worked out since the death of Charles XII , he seized power from the government in a coup d'état in 1772 , ending the Age of Liberty and venturing into a campaign to restore royal autocracy which was completed by the Union and Security Act in 1789 , sweeping away most of the last pretences of Riksdag rule .
 Charles XII
Please list all entity words in the text that fit the category. Output format is "word1, word2". 
Option: location, person, organization 
Text: {0} 
Answer:
 Charles XII