How the elections were won

If the army in fact didn’t tilt the election results in favour of Imran Khan, then how did the PTI win so convincingly?