The Border Defence Corps was established in the Second Polish Republic for the defence of the eastern border against armed Soviet raids and local bandits.