Complex sentence: Gero was forced to resign during the events of the Hungarian Uprising, being replaced by Janos Kadar and he fled to the Soviet Union.
Split into simpler sentences: Gero was forced to resign during the events of the Hungarian Uprising. He was replaced by Janos Kadar and fled to the Soviet Union.