Gandhiji's father, Karamchand Gandhi, served as the Diwan (prime minister) of Porbandar state. A Diwan was a high-ranking administrative official in princely states, responsible for governance and revenue collection. This position afforded the family considerable respect and status in society.