The HORRORS Of Captured D-Day German Executions

After the Allies landed on the beaches of Normandy on the 6th June 1944, they began to capture many Germans. However they weren't always in the business of taking prisoners, and because of this a number of German soldiers were executed. But what happened with this, and why else were captured German soldiers of D-Day executed?