The heads of the Pentagon and the U.S. intelligence community have recommended to President Barack Obama that the director of the National Security Agency, Admiral Michael Rogers, be removed from his position, sources familiar with the matter said on Saturday.

The recommendation by Defense Secretary Ash Carter and Director of National Intelligence James Clapper, first reported by The Washington Post, was delivered to the White House last month.

Obama chose Rogers to take over at the NSA in 2014 and gave him the task of repairing the damage after the huge leaks about its electronic spying program by contractor Edward Snowden.

But there have been other security lapses, the sources said, including the one that led to the arrest of NSA contractor Harold Martin earlier this year.