Complex sentence: In 1945 he became a member of the Communist Party, for which he was dismissed from his job in 1947 after refusing to leave the party.
Split into simpler sentences: In 1945 he became a member of the Communist Party. In 1947 he was dismissed from his job after refusing to leave the party.