Justice M. Hidayatullah served as Acting President of India in 1969 (after President Zakir Husain's death and before Giri's election) and again in 1982 (after President Reddy's term). He was the only Chief Justice to have served as President (even if temporarily).