Imran Ahmed Khan Niazi was on Saturday sworn in as the 22nd prime minister of Pakistan in a simple ceremony hosted at the Aiwan-i-Sadr.
The ceremony, scheduled to begin at 9:30am, started a little after 10am.
The ceremony commenced with the playing of the national anthem, followed by a recitation from the Holy Quran.
High-profile guests, including caretaker Prime Minister Nasirul Mulk, National Assembly Speaker Asad Qaiser, Army Chief Gen Qamar Javed Bajwa, Air Chief Marshal Mujahid Anwar Khan and Navy Chief Admiral Zafar Mahmood Abbasi, were present at the ceremony.
Other notable guests included senior PTI leaders, cricketer-turned-commentator Rameez Raja, newly elected Punjab Assembly Speaker Chaudhry Pervez Elahi, singers Salman Ahmed and Abrarul Haq, actor Javaid Sheikh and former National Assembly speaker Dr Fehmida Mirza.
A visibly overwhelmed Khan, clad in a traditional sherwani, smiled sheepishly as he had some difficulty with following the oath in Urdu. It was administered to him by President Mamnoon Hussain and televised live by state broadcaster PTV.
PM Khan swore to “bear true faith and allegiance to Pakistan”, and to “discharge my duties and perform my functions honestly, to the best of my ability... and always in the interest of the sovereignty, integrity, solidarity, well-being and prosperity of Pakistan.”
The ceremony marked an end to decades of rotating leadership between the ousted PML-N and the PPP, punctuated by periods of military rule.
After taking oath as premier, Khan and First Lady Bushra Imran greeted various guests and accepted felicitations from them.
This was Bushra's first public appearance since their wedding earlier this year.
As the swearing-in ceremony concluded, Khan was ushered to Prime Minister House, where he was presented a guard of honour by contingents from Pakistan's three armed forces.
Khan had invited the rest of the 1992 team to the ceremony, and fast bowler Wasim Akram was pictured smiling among the crowd.
Another cricketer-turned-politician, India's Navjot Singh Sidhu, was seated in the front row and was earlier warmly embraced by Gen Bajwa after an animated conversation between the two.
The guests had been asked to carry their NIC or accreditation cards but not to bring with them any handbags, purses, mobiles phones or any other electronic gadgetry.
According to a tweet by PTI's official Twitter account, the ceremony's menu of nine dishes was reduced to refreshments only on Khan's request as part of his "austerity drive".
A notification issued by the Cabinet Division after the ceremony said Khan has entered the office of the prime minister after taking the oath.
United Nations Secretary General Antonio Guterres congratulated Khan on assuming the office of prime minister of Pakistan.
The message came hours after Khan’s oath-taking ceremony took place in Islamabad.
The Government of Pakistan Twitter account shared felicitations from the UN chief.
“The UN chief hopes for deepening of UN-Pak cooperation in various fields including the world body’s flagship peacekeeping operations around the globe,” the tweet read.
The UN chief had also congratulated the people of Pakistan upon the conclusion of elections and said that he “looks forward to the formation of a new government” after the July 25 general elections.
The University of Bradford also congratulated Khan, who is a former chancellor, commending his "incredible journey" from a cricket hero to premiership.
After the Pakistan Tehreek-e-Insaf (PTI) emerged as the biggest parliamentary party in the wake of the July 25 polls, all 120 of the party's parliamentary committee members had rubber-stamped Khan's candidacy for the post of the prime minister.
The party formed enough alliances and recruited enough independents to gain the numbers required to get Khan elected as the PM in Friday's parliamentary vote.
Khan and his party campaigned on promises to end widespread graft while building an “Islamic welfare state”.
“First of all, we will start strict accountability. I promise to my God that everyone who looted this country will be made accountable,” he said in his speech as PM-elect on Friday.
PTI candidates were also voted speaker and deputy speaker of the National Assembly this week, putting Khan in a strong position to carry forward his legislative agenda.
He will face myriad challenges, including militant extremism, water shortages, and a booming population negating growth in the country, among others.
Most pressing is a looming economic crisis, with speculation that Pakistan will have to seek a bailout from the International Monetary Fund.
Khan will also have to contend with the same issue as many predecessors: how to maintain a power balance in civil-military relations.