India-born Mamnoon Hussain, a close aide of Prime Minister Nawaz Sharif, on Tuesday was elected as the 12th President of Pakistan and will replace incumbent Asif Ali Zardari in September.
Hussain emerged as a clear winner in the one-sided contest 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 in protest to the date of polls being changed.
Born in the historic city of Agra, Hussain, who belongs to an 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 to elect 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 seized powers through coups, whereas first president Major Sikandar Mirza was elected in 1956 after the first constitution was adopted.