According to a US official cited by Bloomberg, it was done with a drone strike.

With Bin Laden dead, do es Al-Qaeda even have a #1?