The president of India is the nominal executive authority and ceremonial head of state, while the prime minister is the real executive authority, as India follows a parliamentary system of government unlike the US presidential system. The president is elected by an electoral college consisting of members of parliament and state legislative assemblies for a 5-year term, and can be re-elected. While most of the president's duties are ceremonial, the president does have some important powers related to appointing the prime minister and other officials, dissolving parliament, declaring emergencies, and approving legislation. The president can also be impeached for violating the constitution through a two-thirds majority vote in both houses of parliament.