Nearly seven years after helping create the post, the Capitol Police’s inspector general is leaving the agency to serve in the same capacity at the Securities and Exchange Commission.

The SEC announced Carl W. Hoecker’s appointment on Tuesday evening in a release, with Commissioner Elisse Walter citing Hoecker’s “demonstrated ability in conducting complex investigations” after “more than 30 years of federal law enforcement experience.”

For Hoecker’s part, the new assignment will allow him to be a part of “an extremely important mission,” according to the release.

When Hoecker assumes his new job, he will leave behind a legacy as the very first inspector general for the Capitol Police, a position established in 2006.

He has stayed busy in that role. Tasked with identifying waste, fraud and abuse, Hoecker presided over the IG’s office when, in 2010, then-Chief Phillip Morse discovered a $5.5 million spending shortfall because of management “miscalculations.”

Hoecker’s team performed an audit of the Capitol Police’s diversity initiatives and announced in 2008 that the force lacked the resources to deal with any such issues that arose. The findings contributed to the creation of the agency’s diversity office.

In 2009, management set about restructuring its privacy policies after Hoecker found the agency lacked adequate protections to secure the identities of and personal information for members of Congress, staffers and officers.

Before being hired by the Capitol Police, Hoecker spent a decade with the Treasury Department, starting as a special agent in 1996 and moving up to the position of assistant inspector general in 2003. Before that, he was a criminal investigator at the U.S. Information Agency, which is now housed within the State Department.

Capitol Police spokesman Shennell Antrobus did not respond to requests for comment, and the agency did not put out its own statement as of early Tuesday evening reacting to Hoecker’s departure and what plans the department might have to install a successor.