The president of Nicaragua, officially known as the president of the Republic of Nicaragua, is the head of state and head of government of Nicaragua. The office was created in the Constitution of 1854. From 1825 until the Constitution of 1839, the head of state of Nicaragua was styled simply as Head of State, and from 1839 to 1854 as Supreme Director.