France took it back in 1918 and it became part of that country as a result of Treaty of Versailles in 1919 . French troops entered Alsace-Lorraine November 1918 at the end of the World War I ; the territory reverted to France at the Treaty of Versailles of 1919 .