The former Dallas police officer who was convicted for murdering an unarmed Black man in his own home previously made racist jokes about Martin Luther King Jr.'s assassination.

Prosecutors revealed the deleted text messages on Tuesday during Amber Guyger's trial in the killing of 26-year-old Botham Jean.

According to screenshots presented during the trial, the former cop sent the messages to a friend on January 15, 2018 while working as a security guard at a parade honoring Dr. King.

The text message exchange shows a friend asking Guyger when the parade would end. 

Guyger then replies to the friend, saying "When MLK is dead…oh wait…."

In another text message, Guyger complained about the length of the parade.

"Jeez. Two and a half hours, on three hours of this," Guyger said. 

The friend, identified as Blevins in the text message, says "Just push them…or spray your pepper spray in that general area."

Prosecutors then presented more text messages from March 9, 2018, showing that Guyger criticized Black cops.

Guyger was having a conversation with her extramarital lover, Martin Rivera, when she made the comments about Black officers.

"Damn I was at this area with five different Black officers!!! Not racist but damn," Rivera wrote in a text message to Guyger. 

"Not racist but just have a different way of working and it shows," Guyger replied. 

According to WFAA, prosecutors also presented Guyger's activity on Pinterest.

One of the images Guyger saved on Pinterest shows a military sniper with text that reads: "Stay low, go fast; kill first, die last; one shot, one kill; no luck, all skill."

Another post reads “I wear all black to remind you not to mess with me, because I’m already dressed for your funeral.”

Guyger also wrote a comment, saying "Yah I got meh a gun a shovel an gloves if i were u back da f**k up and get out of meh f**king ass."

Guyger is facing up to a lifetime in prison after being found guilty on Tuesday for the murder of Jean.

According to CNN, Guyger broke down in tears during the trial Tuesday, insisting she entered the wrong apartment by accident and thought Jean was going to kill her.

Body camera video showed police trying to save Jean's life as he was on the ground bleeding from the gunshot wound, CNN reported.