At the behest of the Musharraf government in 2007, Khalil was among a group of clerics who attempted to negotiate an end to the Red Mosque standoff.