Mr. Musharraf was replaced by Asif Ali Zardari , the widower of slain former Prime Minister Benazir Bhutto , whose Pakistan People 's Party had won parliamentary elections .