Pakistan's newly formed parliament has elected Shehbaz Sharif as prime minister for a second term.
He defeated a rival supported by jailed former Prime Minister Imran Khan.
The move comes three weeks after an inconclusive general election that was marred by allegations of intimidation and vote-rigging.
Mr Sharif's PML-N party came second in the poll. Independent candidates backed by Mr Khan's PTI won the most seats but failed to get a majority.
On Sunday, National Assembly Speaker Ayaz Sadiq announced that Mr Sharif had secured 201 parliamentary votes. He needed 169 to be elected prime minister.
His rival Omar Ayub, who was supported by Mr Khan's Tehreek-e-Insaf (PTI) party, won 92 votes.

EPA
In his victory speech, Mr Sharif said that as no side had a clear parliamentary majority, it was "the democratic way" that "like-minded parties may form a coalition government".
Following last month's election, the Pakistan Muslim League Nawaz (PML-N) - headed by Nawaz Sharif, a former prime minister who is Shehbaz Sharif's brother - reached a coalition deal with the Pakistan People's Party (PPP).
In 2022 the two parties, which have traditionally been rivals, joined forces to oust Imran Khan as prime minister and install Mr Sharif as his successor.
After the assembly was dissolved last August, Pakistan was led by a caretaker government.

GETTY IMAGES
Imran Khan was jailed in the run-up to the 6 February election and barred from standing.
He faces more than 150 criminal and civil charges - all of which he denies - as the authorities launched a crackdown on his party.
PTI candidates were forced to run as independents but won more seats than any other party.
Latest Stories
-
‘Legal Education Bill to end Makola monopoly’ – Dafeamekpor
1 hour -
French MPs back law to allow assisted dying
4 hours -
Second suspect arrested in alleged crypto torture scheme
4 hours -
United is narrowing its check-in window for US flights. Here’s how it compares to other airlines
4 hours -
Foreign Minister should pursue quiet diplomacy, not opulism – Minority Caucus urges tact and engagement
4 hours -
Chairman Wontumi hospitalised after arrest – Lawyer says interrogation suspended
5 hours -
‘Ghana is slipping into the dark days’, says NPP after Wontumi’s arrest
5 hours -
‘We still don’t know why he was taken’ – NPP protests Wontumi’s Rambo-style arrest
5 hours -
We’re not leaving until EOCO releases Wontumi – NPP supporters vow
6 hours -
Wontumi was arrested in a rambo style as if he’s a terrorist – Nana B
6 hours -
‘We will resist political harassment’ – NPP fires warning after Wontumi arrest
6 hours -
Trump administration seeks to pull estimated $100m in Harvard funding
6 hours -
Trump administration halts scheduling of new student visa appointments
7 hours -
Nana Fredua-Agyeman Jnr. eulogises Nana Kwasi Gyan-Apenteng
7 hours -
NPP supporters attack JoyNews reporter during Wontumi’s EOCO detention coverage
7 hours