WASHINGTON (AP) — A former CIA officer accused of drugging and sexually assaulting at least two dozen women during various overseas postings pleaded guilty Tuesday in Washington to federal sex abuse charges that could land him behind bars for up to 30 years.

Brian Jeffrey Raymond kept nearly 500 videos and photographs he took of naked, unconscious women, including many in which he can be seen opening their eyelids, groping or straddling them, prosecutors say. The images date to 2006 and track much of Raymond’s career, with victims in Mexico, Peru and other countries.

The case was just the latest embarrassment for the CIA, which in recent months has seen a reckoning over its often secretive and antiquated handling of sexual misconduct claims within the spy agency.