Somewhat answered here before: https://www.reddit.com/r/AskHistorians/comments/zxh6j/to_which_caste_did_gandhi_belong_to_how_did_his