A former government attorney told Congress on Wednesday that he was fired last summer after he tried to subpoena a prominent Wall Street executive to testify in an insider-trading investigation of a major hedge fund.

Attorney Gary Aguirre, who led the Securities and Exchange Commission’s investigation into Pequot Capital Management Inc., said he was told by his supervisors that it would be difficult to obtain the subpoenas because the executive had “very powerful political connections.”