The president is elected by an electoral college consisting of the elected members of both houses of parliament, the elected members of the Legislative assemblies of the 29 states and the elected members of the legislative assemblies of the Union Territories of Delhi and Puducherry.