Miami Beach Police Chief Dan Oates who announced his retirement from law enforcement in April, is heading to Baltimore.

Oates will be heading a Department of Justice team as a consultant to advise the Maryland city under a new Public Safety Partnership grant, according to Miami Beach police spokesman Ernesto Rodriguez.

In his new role, Oates, 64, will be working with Baltimore Police Commissioner Michael Harrison and his staff to coordinate federal resources to reduce crime there.

According to a U.S. Department of Justice news release, the program provides a “framework for enhancing federal support of state and local law enforcement officials and prosecutors as they investigate and pursue violent criminals, specifically those involved in gun crime, drug trafficking and gang violence.”

The Justice Department created the program in response to President Donald Trump’s 2017 executive order charging the agency with leading a national effort to combat violent crime.

Oates arrived in Miami Beach in June 2014 after serving as the police chief in Aurora, Colorado for nine years. He was the chief during the 2012 Aurora movie theater massacre that left 12 people dead. He also served with the New York police department for 21 years.

On April 5, Oates shared on Twitter his letter of resignation to Miami Beach city manager Jimmy Morales.

“It’s been a great experience working for you and with your leadership team, but it finally feels right to end my 38-year career in law enforcement," he wrote in the letter to the city manager. Read more at Sun-Sentinel