The office of president was created when India became a republic on 26 January 1950, when its constitution came into force. The president is indirectly elected by an electoral college comprising both houses of the Parliament of India and the legislative assemblies of each of India's states and territories, who themselves are all directly elected.
The Constitution succinctly defines presidential functions, powers, and responsibilities. The president’s chief duty is to make sure that the laws are faithfully executed, and this duty is performed through an elaborate system of executive agencies that includes cabinet-level departments. Presidents appoint all cabinet heads and most other high-ranking officials of the executive branch of the federal government. They also nominate all judges of the federal judiciary, including the members of the Supreme Court. Their appointments to executive and judicial posts must be approved by a majority of the Senate (one of the two chambers of Congress, the legislative branch of the federal government, the other being the House of Representatives). The Senate usually confirms these appointments, though it occasionally rejects a nominee to whom a majority of members have strong objections. The president is also the commander in chief of the country’s military and has unlimited authority to direct the movements of land, sea, and air forces. The president has the power to make treaties with foreign governments, though the Senate must approve such treaties by a two-thirds majority. Finally, the president has the power to approve or reject (veto) bills passed by Congress, though Congress can override the president’s veto by summoning a two-thirds majority in favour of the measure.