World War I had a catastrophic impact on Russia, forcing its withdrawal before the conflict ended, resulting in significant territorial losses, including what is now Ukraine, Moldova, Poland, Finland, Lithuania, Latvia and Estonia. This was followed by a five-year civil war.