India is a federal parliamentary democratic republic since its independence in 1947. The President of India serves as the head of the state, while the Prime Minister is the Head of the government. Just like other parliamentary republics, the executive powers of running a government lie with the Prime Minister of the country, while the role of the President is largely ceremonial. The President heads the executive and legislature of India and also serves as the commander-in-chief of the Indian Armed Forces. His term is mostly of five years and is indirectly elected by the people through the elected members of both the houses of the parliament and the legislative assemblies of Delhi and Puducherry. The primary duty of the President is to preserve, protect and defend the constitution and the law of India. After the establishment of the Constitution of India in 1950, the inaugural post of the President was held by Dr Rajendra Prasad, who till date remains as the longest serving President and the only one to serve for two terms in office. India has had thirteen Presidents till date. Pratibha Patil, who assumed office as the 12th President of the country in 2007, became the first woman to serve the post. Pranab Mukherjee serves as the incumbent President of India since July 2012. Check this section to know more about the Presidents of India, their life and their works.