What was the primary purpose of the Treaty of Versailles, signed in 1919?
A. To establish a common European currency
B. To end World War I and impose peace terms on Germany
C. To create the European Union
D. To negotiate trade agreements between France and its colonies