A former Denver officer who has devoted her career to fostering stronger ties between police and minority communities will head up training for the NYPD, becoming the first black woman in that role in decades, officials said.

Tracie Keesee, 52, was named the department’s deputy commissioner of training on Tuesday, after 25 years in the Denver Police Department, where she oversaw research, technology and training.

“You know how important training is to us,” NYPD Chief of Department James O’Neill told the New York Post. “We are very lucky to have her.”

During her time in Denver, she received a doctorate of philosophy from the University of Denver after penning her thesis, “Driving While Black: Stories Through the Driver’s Car Window.”

She retired from the Denver force amid controversy.

In 2012, she was busted down from division chief to captain after a letter surfaced criticizing Denver Police Chief Robert White.