BUFFALO, N.Y. -- William Hochul, U.S. Attorney for the Western District of NY, announced his retirement Wednesday.

Hochul said he would leave his position October 28 after almost 30 years in the Department of Justice.

Obama nominated Hochul to service as the U.S. Attorney for the Western District of New York in 2009. U.S. Attorneys serve at the President's pleasure, so this is not an unexpected move, given that President Obama will be leaving office in January.

Before that, he worked at the Department of Justice in 1987 as an Assistant United States Attorney for the District of Columbia, among other positions.

Hochul returned to Buffalo, his hometown, in 1991. He prosecuted many notorious violent and white collar criminals and dealt with cases that included fraud, racketeering, intellectual property offenses and emerging international organized crime groups.

The prosecution of the "LA Boys" in particular resulted in Buffalo's murder rate decreasing by almost 50 percent, according to his office.

Hochul strived to make community outreach a priority, according to a news release. His initiatives included three heroin and opioid drug summits, youth engagement, an anti-violence pledge in all Buffalo Public Schools, fraud awareness and protecting children online.

"While the threat to Americans and Western New Yorkers has changed over the decades of my service, it has been my experience that certain fundamental truths have remained constant,” Hochul said. “First, the commitment of law enforcement to protect and serve the public has never wavered, and it has been an honor to work with these heroes. Second, the system in which we operate is truly the best the world has ever seen. Finally, it has been a great privilege to be able to achieve justice for those who have been targeted or hurt by vicious predators, unscrupulous fraudsters, and criminals of every type.”