Former finance minister Pranab Mukherjee was elected Indian President on Sunday after votes from national and state lawmakers were counted in the race for the mainly ceremonial post. Some analysts believe Mukherjee, a veteran from the ruling Congress party, may take a more active approach to the job than his predecessors as India struggles with a parliamentary deadlock and slowing economic growth. The PTI news agency announced Mukherjee, 76, as the winner after he collected more than half of the electoral college votes during counting on Sunday. He easily beat his only rival P.A. Sangma, 64, a former lower house speaker who was backed by the main opposition Bharatiya Janata Party (BJP). India's president, who lives in a 340-room palace in New Delhi built for the British Viceroy during colonial rule, is chosen by legislators from the two houses of parliament and state assemblies. Under the constitution, the prime minister wields most of the executive power, but the president can play a guiding role in the process of forming governments. The next general election, due to be held in 2014, is predicted to be close, leading to a period of complex horse-trading between numerous national and regional parties trying to form a stable coalition government. Despite the president being a neutral figure above party politics, his success on Sunday was a welcome victory for the embattled Congress party, which has been beset by a string of graft scandals and poor economic data. Mukherjee will be formally sworn in on Wednesday, taking over for a five-year term from Pratibha Patil, India's first woman President.