(CNN) United States Secret Service director Joseph Clancy announced his retirement to the staff Tuesday, a spokesperson tells CNN.
"The success of the Secret Service is achieved with great sacrifice by all of you and your families," Clancy wrote in a letter to employees obtained by CNN. "Please accept my sincere and heartfelt thanks for your dedication to our mission. You have inspired me. My hope was that I could return your gifts of inspiration with some measure of good for the Secret Service."
Clancy took over as acting director of the agency in October 2014 and later was sworn in as permanent director in February 2015.
"My love for this agency has only complicated the decision further, but for personal reasons it is time. I look forward to spending time with my family," Clancy wrote.
He said his retirement was effective March 4.
Clancy is a 27-year veteran of the Secret Service who ran the presidential protection division during the first years of Barack Obama's presidency. And he has noted there are more similarities than differences among the presidents they protect.
But there have been reports of tension between the Secret Service and the private security team that's protected Donald Trump for years. Clancy has rejected that.
"There is no friction at all" with Trump's private team, insisted Clancy in an interview with CNN last month.
The Secret Service has been beset by scandals in recent years after security intrusions and a number of agents were found to have hired prostitutes in Colombia.