Guatemala's parliament has passed a ban on same-sex marriage and toughened penalties for abortion.

On Tuesday evening (local time) - on International Women's Day - in the Congress of the Central American country, 101 MPs voted in favor of the "Law for the Protection of Life and Family" with 8 votes against.

For it to come into force, it only needs to be signed by conservative President Alejandro Giammattei, a doctor and anti-abortion advocate.

The law, which his party Vamos in particular pushed through with its majority in parliament, defines "sexual diversity" as "incompatible with the biological and genetic characteristics of humans".

It also prohibits schools from teaching sexual behavior that deviates from heterosexuality as normal.

The maximum sentence for an abortion has been increased from three years in prison to ten years for women.

According to the new law, doctors can be behind bars for up to 12 years for performing an abortion with the consent of the woman.

In Guatemala, the most populous country in Central America with around 17 million inhabitants, abortions are only permitted if there is a serious risk to the mother's health.

Guatemala's human rights ombudsman, Jordán Rodas, announced that he would challenge the law for being inconsistent with the constitution.

It violates human rights and international agreements, he told journalists after the vote.