Reforms by Frederick II of Prussia and Maria Theresa of Austria