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: