When both the President and Vice President positions are vacant, the Chief Justice of India serves as Acting President under Article 65 of the Constitution. This provision ensures constitutional continuity. The Chief Justice serves until a new President is elected. The Deputy Chairman of Rajya Sabha, Prime Minister, and Army General do not have this constitutional authority.