WASHINGTON (AP) — Secret Service Director Julia Pierson has resigned amid security lapses at the White House.

Homeland Security Secretary Jeh Johnson said Wednesday that Pierson offered her resignation, and he accepted it.

The move came one day after her appearance before the House Oversight and Government Reform Committee in a congressional hearing focused on recent security lapses at the White House.

TheGrio | Has the Secret Service turned its back on Obama? 

Pierson had worked at the Secret Service for 30 years.

She was widely criticized during and after her testimony Tuesday.

Pierson took over the embattled agency last year after embarrassing incidents involving misconduct by officers and agents, including the 2012 Colombia prostitution scandal.

Copyright 2014 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.