India-born Mamnoon Hussain, a close aide of Prime Minister Nawqaz Sharif, was today elected as the 12 President of Pakistan and will replace the incumbent Asif Ali Zardari in September.

Hussain emerged as a clear winner in the one-sided contest with with ex-judge Wajihuddin Ahmad of Pakistan Tehreek-i-Insaf party, state media reported.

Pakistan People's Party withdrew its candidate Raza Rabbani and boycotted the election held on Tuesday in protest to the date of polls being changed.

The polling started at 10.00 AM amidst tight security arrangements.

Born in the historic city of Agra, Hussain, who belongs to the Urdu-speaking ethnic group that migrated from India during partition in 1947, was the candidate of ruling PML-N government.

Over 1,000 members of the national parliament and four provincial assemblies cast their ballots for largely ceremonial head of the state.

The office of the president is ceremonial in Pakistan but he is still the constitutional chief of the armed forces but cannot order deployments.

He also appoints the services chiefs at the recommendation of the prime minister.

Pakistan so far had 11 presidents, out of which five were military generals. Four of them illegally got powers through coups, whereas first president Major Sikandar Mirza was elected in 1956 after the first constitution was adopted.