Original: During World War I the railways were under state control, which continued until 1921.
Simplified: During World War One the railways were run by the government until 1921.