Harriet Tregoning, the director of the D.C.’s Office of Planning, is resigning.

Mayor Vincent Gray’s office confirmed that Tregoning, a smart growth advocate who recently fought to give D.C. more of a say in the Height Act process, is leaving the city to work for the Obama administration. It was earlier reported that Tregoning was considered for a position in New York Mayor Bill DeBlasio’s cabinet.

“I’d like to thank Harriet for her dedicated service to the District and its residents. She has worked tirelessly to help the District grow responsibly and become a thriving, more sustainable city,” Gray said in a statement. “In recruiting her, President Obama and Secretary Donovan have demonstrated a keen eye for talent. Although she will be missed, I look forward to working with her in her new role.”

A source says Tregoning announced her resignation this morning. According to the Office of Planning, she will step down on February 23 to become the Director for the Office of Sustainable Housing and Communities at the Department of Housing and Urban Development. HUD Secretary Shaun Donovan announced her new position in a memo.

“I could not be prouder of the progress the city has made,” Tregoning said in a statement. “I am so grateful to have had the opportunity to serve the citizens of D.C. This has been the best job ever.”

Tregoning was appointed by then Mayor Adrian Fenty in 2007 and retained by Mayor Vincent Gray, who has defended her in the face of criticism to the Height Act changes her office proposed. She was previously the director of the Governors’ Institute on Community Design and co-founded the Smart Growth Leadership Institute.

This post has been updated.