The President of the Republic is a title used for heads of state and/or heads of government in countries having republican form of government.
In most cases the president of a republic is elected, either: