Complex sentence: He joined the workers' movement in 1937, but he was arrested in 1939 and sentenced to a year in prison, then he joined the Communist Party of Yugoslavia in 1940.
Split into simpler sentences: He joined the workers' movement in 1937, but he was arrested in 1939 and sentenced to a year in prison. He later joined the Communist Party of Yugoslavia in 1940.