Hungary's president, Katalin Novak, has resigned after it was revealed that she had pardoned a man convicted of child sexual abuse.
President Katalin Novak faced days of mounting pressure to resign over her decision and finally relented.
The 46-year-old announced in a televised appearance that she would step down from the presidency, a position she has held since 2022.
"I made an apology that caused confusion and turmoil for many people," Novák said on Saturday. "I made a mistake."
Novak, the first female president in Hungary's history, caused an unprecedented political scandal for the country's nationalist government.
On Friday there were protests in the Hungarian capital Budapest during which Novak's resignation was demanded.
Novak did not give a reason for the controversial pardon.
The man she forgave was the deputy director of a children's home in Bicske near Budapest.
According to the court's decision, he forced the children to give up their testimony as victims of abuse against the director of the house in order to exonerate his boss.
The director of the house was sentenced to eight years in prison.
His pardoned deputy was sentenced to three years and four months in prison.
The pardon was made in May 2023, on the occasion of Pope Francis' visit to Budapest.
Prime Minister Viktor Orbán presented a proposal to parliament on Thursday evening to amend the Hungarian constitution so that in the future, criminals whose crimes are child victims are generally not forgiven.
This was the first time that Orban distanced himself from Novak, the former vice-president of his populist national-conservative party "Fidesz", in power.