Greece’s lawmakers elected their country’s first female president Wednesday, with an overwhelming majority voting in favor of high court judge Katerina Sakellaropoulou.

Speaking after being formally informed of the parliament vote, Sakellaropoulou said she would aim for the “broadest possible consensus” in the course of carrying out her duties.

Katerina Sakellaropoulou, head of the Council of State poses at her office in Athens on Wednesday, Jan. 22, 2020. Greece's lawmakers elected their country's first female president Wednesday, with an overwhelming majority voting to give high court judge Katerina Sakellaropoulou the largely ceremonial post. (Orestis Panagiotou/Pool via AP)

Katerina Sakellaropoulou, head of the Council of State poses at her office in Athens on Wednesday, Jan. 22, 2020. Greece's lawmakers elected their country's first female president Wednesday, with an overwhelming majority voting to give high court judge Katerina Sakellaropoulou the largely ceremonial post. (Orestis Panagiotou/Pool via AP)

In her first comments as president-elect, the judge noted the “difficult conditions and challenges of the 21st century, including the financial crisis, climate change, the mass movement of populations and the consequent humanitarian crisis, the erosion of the rule of law and all manner of inequalities and exclusions.”

TRUMP REPRISES NATO SPENDING COMPLAINTS AT WORLD ECONOMIC FORUM

Prime Minister Kyriakos Mitsotakis nominated Sakellaropoulou as a non-partisan candidate who would enjoy broad support from across the political spectrum. All major parties voted in favor of the nomination, with Sakellaropoulou being elected to the largely ceremonial post in a 261-33 vote, well above the 200 votes required. Six lawmakers were absent.

Greek Prime Minister kyriakos Mitsotakis applaud during a parliamentary session to vote for the new Greek President, in Athens, on Wednesday, Jan. 22, 2019. High court judge Katerina Sakellaropoulou has been elected at Greece's first female president with an overwhelming majority in a parliamentary vote. (AP Photo/Petros Giannakouris)

Greek Prime Minister kyriakos Mitsotakis applaud during a parliamentary session to vote for the new Greek President, in Athens, on Wednesday, Jan. 22, 2019. High court judge Katerina Sakellaropoulou has been elected at Greece's first female president with an overwhelming majority in a parliamentary vote. (AP Photo/Petros Giannakouris)

Greece has a historically low number of women in senior positions in politics, and Mitsotakis had been criticized for selecting a nearly all-male Cabinet after he won general elections in July 2019. In the current Greek Cabinet, all but one of the 18 senior positions are held by men.

FRENCH PUBLISHER APOLOGIZES AFTER HISTORY TEXTBOOK SUGGESTS CIA 'ORCHESTRATED' 9/11 TERROR ATTACKS

Speaking after the vote, Mitsotakis described Sakellaropoulou, 63, as a “great jurist, a great judiciary personality who unites all Greeks from the minute this procedure began.”

He said he sought to nominate a candidate who would “symbolize the youth of the Greek nation, and I am glad that the result confirmed that on the big issues, we can finally agree.”

Greek lawmakers applaud during a parliamentary session to vote for the new Greek President, in Athens, on Wednesday, Jan. 22, 2019. High court judge Katerina Sakellaropoulou has been elected at Greece's first female president with an overwhelming majority in a parliamentary vote. (AP Photo/Petros Giannakouris)

Greek lawmakers applaud during a parliamentary session to vote for the new Greek President, in Athens, on Wednesday, Jan. 22, 2019. High court judge Katerina Sakellaropoulou has been elected at Greece's first female president with an overwhelming majority in a parliamentary vote. (AP Photo/Petros Giannakouris)

European officials congratulated Sakellaropoulou, with European Commission President Ursula von der Leyen welcoming the election of Greece’s first female president in a tweet that said the country was “moving ahead into a new era of equality.”

European Council head Charles Michel also tweeted congratulations, saying it was “a great signal to elect the Republic’s first female head of state.”

CLICK HERE TO GET THE FOX NEWS APP

Sakellaropoulou, who has headed the Council of State, the country's highest administrative court, since 2018, is to begin her five-year term in March, when the term of the current president, veteran conservative politician Prokopis Pavlopoulos, expires.