Germany is extending compensation payments to more gay men investigated under a law criminalizing homosexuality that was enforced enthusiastically in post-World War II West Germany.

German lawmakers in 2017 approved the annulment of thousands of convictions under so-called Paragraph 175, which remained in force in its Nazi-era form until homosexuality was decriminalized in 1969. They instituted payments of 3,000 euros ($3,380) per conviction, plus 1,500 euros for every year of jail time convicted men started.

The Justice Ministry issued a directive effective Wednesday under which people who were put under investigation or taken into investigative custody, but not convicted, also can claim compensation. There will be payments of 500 euros per investigation opened, and 1,500 euros for each year of time in pre-trial custody started.