Boulder County’s district attorney sent a letter to Gov. John Hickenlooper Thursday announcing his intention to resign and take a job at a private law firm.

Stan Garnett, 61, is two years into his third and final term as Boulder County’s DA. He was first sworn into office in January 2009. His resignation is effective March 1, 2018, according to the letter he sent to the governor.

Garnett will be rejoining Brownstein, Hyatt, Farber and Schreck – which is where he was a trial lawyer for 22 years, according to his biography on Boulder County’s website.

“It has been a pleasure and an honor to serve the People of Colorado as the second longest serving District Attorney in Boulder County since statehood in 1876,” Garnett wrote in the letter to Hickenlooper.

RELATED: Stan Garnett tries to overcome the 'Boulder Liberal' title

Garnett will help Hickenlooper’s office find a replacement, and he will help with the transition process.

In the letter, Garnett said he would “remain involved in public discourse, particularly on the issues about which I am most passionate; the judicial system, criminal justice reform and protection of our immigrant population.”

You can read Garnett’s full letter to Hickenlooper below:

Can't see the letter? Click here: http://bit.ly/2Ft3PHO

Garnett sat down with Next to talk about the cases he remembers most, and the one he wishes he solved. Watch in our interview here.

Click here if video doesn't appear.