1) Louis XIV became King of France at the age of five and believed in the divine right of kings, earning him the nickname "Sun King". 2) As a child, Louis XIV's power was challenged by a revolt from nobles opposed to his chief minister Cardinal Mazarin, though he later solidified control by building the grand palace of Versailles. 3) Versailles served to glorify Louis XIV's absolute power over France and was surrounded by lavish gardens with over 500 servants attending to the 226 rooms, including a library and chapel.