WASHINGTON (Reuters) - Director of National Intelligence James Clapper announced his resignation on Thursday and said it “felt pretty good” to step down, ending a six-year tenure as the top U.S. spy that included a sometimes rocky relationship with Congress.

Clapper, 75, a retired three-star U.S. Air Force general, will stay on until Democratic President Barack Obama leaves office in January. He has said for months he intended to leave when Obama departed and his replacement will be chosen by Republican President-elect Donald Trump.

Clapper’s term was marked by efforts to grapple with the re-emergence of an aggressive Russia, extremist attacks and growing cyber threats, as well as misleading a Senate committee about federal policy on collecting data on millions of Americans.

His formal letter of resignation was issued in response to a White House request that all Obama administration political appointees submit resignations effective at noon on Jan. 20, a spokesperson for the Office of the Director of National Intelligence said.

Clapper appeared before the U.S. House of Representatives intelligence committee hearing on Thursday and Representative Adam Schiff, the committee’s top-ranking Democrat, lightheartedly said he hoped Clapper would stay in the job for four more years.

“I submitted my letter of resignation last night, which felt pretty good,” Clapper responded. “I’ve got 64 days left.”

“LEAST UNTRUTHFUL”

In March 2013 Clapper found himself at the center of controversy after testifying before the Senate Select Committee on Intelligence, telling Senator Ron Wyden that the U.S. government did “not wittingly” collect data on millions or hundreds of millions of Americans.

His statement was disproved months later when former National Security Agency contractor Edward Snowden exposed classified details of U.S. surveillance programs, including one that collected domestic U.S. phone call data in bulk.

Clapper later said his response to the Senate was the “least untruthful” one he could provide.

On Thursday, Wyden said senior intelligence officials “engaged in a deception spree regarding mass surveillance” during Clapper’s tenure.

Others praised Clapper with Senate Intelligence Chairman Richard Burr, a North Carolina Republican, saying he had “served our country honorably and with distinction in every capacity requested of him.”

Before last week’s presidential election Clapper’s office issued a pre-election declaration accusing Russia of hacking U.S. political operatives and individuals as part of a scheme to “interfere with the U.S. election process.” On Thursday he declined to comment on whether the Russians had shared any of the hacked information with unnamed Americans in the past 18 months.

Slideshow ( 8 images )

Clapper said he did not expect “a significant change in Russian behavior” when asked about Russia’s alleged involvement in hacking. He added that Russia was planning to expand its presence at a naval base it maintains in Tartous, Syria.

The leading candidates to replace Clapper in the Trump administration include Robert Cardillo, director of the National Geospatial-Intelligence Agency and a previous deputy director of national intelligence under Clapper, according to national security officials and people close to Trump’s transition team.

Retired Lieutenant General Ronald Burgess, who headed the Defense Intelligence Agency during Obama’s first term, and former Republican Representative Pete Hoekstra, who chaired the House Intelligence Committee, also may be in contention, sources said.

Slideshow ( 8 images )

The director of national intelligence oversees 17 U.S. intelligence agencies and serves as the president’s principal intelligence adviser and briefer.

As deputy director of national intelligence, Cardillo had served as Obama’s “alternate” principal briefer, an official said.

Clapper’s service in military and intelligence spanned six decades, beginning in the 1960s in the U.S. Marine Corps followed by enlistment as a U.S. Air Force officer.