World War I ended with the signing of the Armistice of November 11, 1918. Though the fighting stopped, the war's potential to resume still existed and peace was only reached when representatives of Germany signed the Treaty of Versailles on June 28, 1919, exactly five years after the assassination of Archduke Franz Ferdinand. The United States entered the war after it had been raging for years. When it did send men to the fronts of Europe, the U.S. armed forces remained segregated, with all-black and all-white units. Despite the segregation, many African Americans still volunteered to join the Allied war effort. By the time of the armistice with Germany, more than 350,000 African Americans had joined the military and risked their lives to serve with the American Expeditionary Force on the Western Front.