The next day, he abandoned his studies in 1930 to join the Indian independence movement. Being inspired by Mahatma Gandhi, Feroze changed the spelling of his surname from "Ghandy" to "Gandhi" after joining the Independence movement.[1][12][lower-alpha 1] He was imprisoned in 1930, along with Lal Bahadur Shastri (the 2nd Prime Minister of India), head of Allahabad District Congress Committee, and lodged in Faizabad Jail for nineteen months. Soon after his release, he was involved with the agrarian no-rent campaign in the United Province (now Uttar Pradesh) and was imprisoned twice, in 1932 and 1933, while working closely with Nehru.[3]