Who Won the Battle of the Somme?

The Allies which were the British and France were said to be the ones to have won the Battle of the Somme. Although they were able to advance further in miles than the Germans, they did so with great cost of their troops.