Embattled Office of Personnel Management Director Katherine Archuleta announced Friday she is resigning, one day after the government revealed that more than 22 million people had their data stolen in a pair of massive cyberattacks on the agency.

“I conveyed to the president that I believe it is best for me to step aside and allow new leadership that will enable the agency to move beyond the current challenges and allow the employees at OPM to continue their important work,” Archuleta said in a statement.

White House Press Secretary Josh Earnest said Archuleta came to the White House on Friday morning to offer her resignation and President Barack Obama accepted. She did so “of her own volition,” Earnest said at a press briefing.

“It’s quite clear … that new leadership with a set of skills and experiences that are unique to the urgent challenges that OPM faces are badly needed,” Earnest said.