Angola has decriminalized same-sex activity and banned discrimination against individuals based on their sexual orientation.

The change came on Wednesday, January 23, as Angola’s parliament adopted the new first penal code since independence from Portugal in 1975 and removed the “vices against nature” provision in its law, which was inherited from its Portuguese colonizers and was widely interpreted to be a ban on homosexual conduct.

This is the latest in reforms under the administration of President Joao Lourenco, a former defense minister who took office in 2017 after the long rule of Jose Eduardo dos Santos.

Taking things one step further, the government has also prohibited discrimination against people on the basis of sexual orientation. Anyone refusing to employ or provide services to individuals based on their sexual orientation may face up to two years in prison.