A former FBI agent in Minnesota was sentenced to four years in prison Thursday after pleading guilty to leaking documents to website The Intercept.

Terry James Albury is the second leaker that the Department of Justice has put behind bars since Attorney General Jeff Sessions promised to pursue more leak investigations in August 2017.

Albury apologized to his former FBI colleagues and said that he “truly wanted to make a difference and never intended to put anyone in danger” at the sentencing, reported The New York Times.

Albury was motivated in part because he was the only black field agent assigned to his counterterrorism squad and wanted to address “the well-documented systemic biases within the FBI,” his lawyers said in March. Albury expressed regret at his sentencing for not going through official channels to express his concerns, reported The NYT.

Albury’s case is the second Espionage Act case that the Justice Department has closed after the August sentencing of NSA leaker Reality Winner, who also gave documents to The Intercept.

“We are conducting perhaps the most aggressive campaign against leaks in Department history. … Today’s sentence should be a warning to every would-be leaker in the federal government that if they disclose classified information, they will pay a high price,” Sessions said in a Thursday statement. (RELATED: Unseen Column By Missing Saudi Journalist Jamal Khashoggi To Appear In The Washington Post)

Albury leaked secret documents that were published by The Intercept in a January 2017 series called “The FBI’s Secret Rules.” He shared “Secret level” national defense information with a reporter from 2016 to August 2017 using a variety of methods. Albury collected the documents by taking photos of computer screens and copying the contents of classified documents into unclassified documents that he would then print.

Albury worked in the FBI’s Minneapolis field office and had a top secret security clearance, according to a Justice Department press release. He faces three years of supervision after his prison release, reported The NYT.

Follow Evie on Twitter @eviefordham.

Send tips to evie@dailycallernewsfoundation.org.

Content created by The Daily Caller News Foundation is available without charge to any eligible news publisher that can provide a large audience. For licensing opportunities of our original content, please contact licensing@dailycallernewsfoundation.org.