For 10 points, name this longest-serving French ruler who proclaimed that "he was the state" known as the "Sun King".
During his reign, William III of Orange and Emperor Leopold I formed the League of Augsburg to further the balance of power against his country, later known as the Grand Alliance, and during his childhood under the regency of Anne of Austria, power was held by Cardinal Mazarin. A proponent of rule by divine right, this figure protected writers like La Fontaine by becoming patron of the Academie Francaise, and he moved his court from the Louvre Palace to the newly-built Palace at Versailles. For 10 points, name this longest-serving French ruler who proclaimed that "he was the state" known as the "Sun King".
During his reign, William III of Orange and Emperor Leopold I formed the League of Augsburg to further the balance of power against his country, later known as the Grand Alliance, and during his childhood under the regency of Anne of Austria, power was held by Cardinal Mazarin.
{Louis XIV} of France [prompt on "{Louis}", accept {Sun King} before it is read]