WATCH: Ted Cruz says Dallas cop who killed unarmed black man in his own home should not be fired
Sen. Ted Cruz (R-TX). Image via screengrab.

During a debate Friday evening, Sen. Ted Cruz (R-TX) attempted to attack his challenger Beto O'Rourke by claiming he wants to see the Dallas officer who shot and killed an unarmed black man in his own apartment lose her job.

WATCH: Ted Cruz’s presidential campaign spokesperson admits Beto O’Rourke may win Texas Senate race

"Why did you caution Representative O'Rourke and others not to jump to conclusions in this case when the Texas Rangers and the Dallas District Attorney said she committed manslaughter?" a moderator asked Cruz about Dallas officer Amber Geiger's shooting of Botham Jean in his apartment, which she thought was hers.

"If she violated the law, if she did that intentionally, she'll face the consequences," the senator said. "But without knowing the facts, before a trial, before a jury has heard the evidence, Congressman O'Rourke is ready to convict her, ready to fire her."

"It's a troubling pattern," Cruz continued. "Over and over again, Congressman O'Rourke, when faced with an issue about police and law enforcement, he sides against the police."