The former head of Libya's intelligence service, who defected and resigned as foreign minister Wednesday, is widely believed to have been one of leader Moammar Gadhafi's most trusted aides. He also had developed a close working relationship with the U.S., especially on counterterrorism.