The Gadar Party was founded by Lala Hardayal with the primary objective of liberating India from British rule through armed revolution.