How did Russia win World War 1?

They were on the side of the Allies. And they had an alliance with Serbia, so they had no choice but to join.