The family behind Krispy Kreme Doughnuts, Panera Bread and Pret A Manger is donating 5 million euros, or $5.5 million, to an assistance fund for Holocaust survivors after learning that the family business once used forced labor and supported the Nazi regime.

The Conference on Jewish Material Claims Against Germany, which seeks reparations for Holocaust survivors and funds social services, announced the donation on Thursday.

The donation was made by the Reimanns, one of Germany’s richest families, through the family foundation, the Alfred Landecker Foundation. The family controls the JAB Holding Company, which is worth more than $20 billion and also owns or has controlling stakes in Peet’s Coffee, Einstein Bros. Bagels, Stumptown Coffee Roasters, Keurig and other breakfast brands.

In the years leading up to World War II, executives at Benckiser, a predecessor of JAB, supported Adolf Hitler and the Nazi regime. The company also used forced labor from prisoners of war and others who were taken from their homes in Nazi-occupied territories.