Mohammad Hidayatullah also served as the acting President of India on two separate occasions; and holds the distinct honour of being the only person to have served in all three offices of the President of India, the Vice-President of India and the Chief Justice of India.[220][221]