Complex sentence: The first such groups were formed in 1939, shortly after the invasion of Poland, mostly by marauders from the Polish Army and other people who evaded being arrested by the new Nazi or Soviet authorities.
Split into simpler sentences: The first such groups formed in 1939, shortly after the invasion of Poland. Membership comprised mostly marauders from the Polish Army and other people who evaded arrest by the new Nazi or Soviet authorities.