In 1917 when the U.S. entered the war the central powers realized they were too weak because they were running out of men. Also they were in econoic trouble so they couldn't afford to keep fighting. So they came to the agreement of The Treaty of Versailles.