Ethiopia's legislature is expected to pass a bill that would take away the president's ability to pardon people convicted under laws banning homosexual acts, the Associated Press reports. The move comes on the heels of the passage of harsh anti-gay laws in Uganda and Nigeria that drew condemnation from around the world.

Same-sex acts were already illegal in Ethiopia, punishable by up to 15 years in prison. But during the Ethiopian New Year, the president often pardons thousands of prisoners, the AP said. The new law, endorsed last week by the Cabinet, would take away his ability to pardon people convicted under anti-homosexuality laws.

When Uganda enacted its law last month, the Ethiopian minister for women, children and youth affairs sent out a tweet that seemed to criticize it. Subsequent tweets disowned the sentiment, and her Twitter account is no longer active.

This map shows gay rights laws around the world, including the 10 countries where homosexuality may be punishable by death: