Complex sentence: Before the revolution, the tsarist regime had a Ministry of Labour which was replaced by the People's Commissariat for Labour.
Split into simpler sentences: Before the revolution the tsarist regime had a Ministry of Labour. This was replaced by the People's Commissariat for Labour.