Convicted rapists in Mozambique will now be ordered to undergo mandatory HIV testing, The Times reports.

According to the article, the required testing is authorized under Article 40 of a recently passed antidiscrimination law that supports the rights of people living with HIV. The legislation also requires rape victims to be tested and, if positive, receive access to treatment.

Under the same law, a person who knowingly infects others with HIV can face a sentencing of three months to 12 years in prison.

The current HIV infection rate of Mozambicans between the ages of 16 to 49 is estimated at more than 16 percent.