In the absence of both the President and the Vice President, the Chief Justice of India is the next in line to discharge the functions of the President. If the Chief Justice is also not available, the senior- most judge of the Supreme Court available discharges these functions.