France, Aug. 12 -- The post became vacant following the contested removal last month of the previous president, an Orban ally, as pro-EU conservative Prime Minister Peter Magyar moves to dismantle his predecessor's lingering influence over state institutions.

Parliament, where the ruling Tisza party holds a two-thirds majority, elected Baka -- who served 17 years as a judge on the European Court of Human Rights (ECHR) -- with 140 votes in favour and six votes against.

Tisza on Saturday nominated Baka, 73, for the largely ceremonial role.

Magyar said Baka's life served "as an example of commitment to the democratic rule of law and constitutional principles", adding that Hungary needed to be "guided back onto the path of the rule of law ...