According to documents released Friday, Todd Shaw, who resigned from the suburban Louisville department after it conducted its own investigation past year, sent several "highly disturbing racist and threatening Facebook messages" to the recruit.
In private Facebook messages, a recruit asked Shaw what he should do if he saw juveniles smoking marijuana.
Shaw's lawyer, Michael Burns, says he was just "playing" with these and other messages, and that that he "treated all people fairly" as a law enforcement officer.
A almost 30-year veteran of law enforcement, Shaw, 50, was the acting chief of the Prospect police department in Jefferson County, Kentucky, when he was sacked over the messages in November.
A judge ordered the evidence released last week.
Jefferson County attorney Mike O'Connell, whose office uncovered the remarks, said in a statement: "Any individual who shares such blatant racist views should not be given a badge, a gun and a position of authority."He added: "This type of bias from one officer gives a black eye to the countless policemen and women who do great work in our community each day".
"Mr Shaw held a distinguished career in law enforcement for almost 30 years", he said.
Evans said the messages were not sent on city computers or over city telephones and the messages were found to be "abhorrent, disgusting, and reprehensible".
"F-ck the right thing", according to the Courier Journal.
In later exchanges with the recruit, Shaw also referred to Dr. Martin Luther King, Jr.as "nothing but a [racist] womanizer".
'There is no place in police departments for men or women who hold such strongly held prejudices, including recommending shooting people simply due to their race'.
Members of the media were fighting in court to have the comments made public, and Shaw was fighting that.
Shaw has not been charged with any crime as a result of the records, the motion states. "He is not a racist in any sense of the word".
After receiving the letter from Jefferson County prosecutors, Shaw was "immediately" placed on paid suspension and later resigned on November 20.
"I am disgusted by the shocking and appalling statements released today between the former Prospect Assistant Chief of Police Todd Shaw and a former LMPD recruit", LMPD Chief Steve Conrad said in a statement. "These actions spit in the face of the determined effort hundreds of thousands of law enforcement officers put forth to build trust and legitimacy in the communities they serve".
Mayor Evans sent out a press release where he quoted the police chief saying that it was "apparent to him" that Shaw had violated police conduct, according to WDRB. The recruit was with the Louisville Metro Police Department.