Junta-run Burkina Faso has passed a law banning homosexuality and instituting punishments of up to five years in jail, the latest in a clutch of African nations to pass anti-gay legislation.

“The law provides for a prison sentence of between two and five years as well as fines,” Justice Minister Edasso Rodrigue Bayala said on national broadcaster RTB.

“If a person is a perpetrator of homosexual or similar practices, all the bizarre behaviour, they will go before the judge,” he said, adding that foreign nationals would be deported under the law.