How PTI candidates campaigned from hidingpublished at 10:57 Greenwich Mean Time 9 February
Caroline Davies
Reporting from Lahore
The results are coming through steadily for Imran Khan's party despite the restrictions against it. The PTI had always said it wasn't going to give up on winning despite its founder being jailed and barred from running for office.
Some of its candidates also kept campaigning despite being in prison; if they weren't yet convicted they were free to stand for election from behind bars.
Others avoided the police altogether and ran their campaigns from hiding.
Atif Khan was a provincial minister in Khyber Pakhtunkhwa in the north of Pakistan. As part of his campaign, he appeared on video broadcasts on three-metre screens his team drove around his patch, parking up in town squares to address PTI supporters.
This was the only way he could take his message to voters, he said, because he had been in hiding since May. The authorities say he is a wanted man. He believes he wouldn't get a fair trial.
"It's a totally different experience, not amongst the crowds, not on stage, not amongst people, but we are trying to manage it," Mr Khan told the BBC before the election.
"The biggest support base of PTI is the young voter. They are using digital media, mobile phones, that's why we thought we should be more engaged with them through it. That is the only thing we can do, we can campaign through digital media."
Read more: Imran Khan: How Pakistan ex-PM plans to win an election from jail