Rod Rosenstein is leaving his post as the U.S. Justice Department’s deputy attorney general effective May 11, according to a resignation letter submitted Monday.

“Our nation is safer, our elections are more secure, and our citizens are better informed about covert foreign influence efforts and schemes to commit fraud, steal intellectual property and launch cyberattacks,” Rosenstein wrote.