Berlin, Germany (CNN) A court in Germany has sentenced two men to prison over one of the worst child sex abuse cases in the country's post-war history.

The Detmold district court convicted the two men of sexually abusing dozens of young girls and boys between three and 14 years old and for producing child pornography in over 450 cases.

The men, known only as Andreas V., 56, and Mario S., 34, were sentenced to 13 and 12 years in prison, respectively. German privacy laws prevents authorities from releasing full names.

Both men will be held in preventative custody after serving their jail sentences and, based on verdict, could effectively end up being locked up for the rest of their lives.

Thirty-four girls and boys were subjected to sexual abuse by the two men at a campsite in the Luegde Forest in central Germany between 1998 and 2018, the public prosecutor said.

Read More