Disclaimer: The content of this story could be sensitive to some readers.

A Sacramento pastor responded to the Orlando shooting that killed 49 people and injured 50 with praise, stating "they deserve what they got."

WATCH: Pastor stands by viral sermon about Orlando shooting

A recording of the sermon, given by Pastor Roger Jimenez from Verity Baptist Church, was posted to YouTube the day after the tragedy.

In the video, Jimenez preached to his congregation that they should not be grieving the homosexual victims of the shootings, comparing those killed to pedophiles.

"Are you sad that 50 pedophiles were killed today?" asked Jimenez. "Um no. I think that’s great. I think that helps society. I think Orlando, Florida, is a little safer tonight. The tragedy is that more of them didn’t die. The tragedy is I’m kind of upset he didn’t finish the job – because these people are predators. They are abusers."

Jimenez went on to criticize the government, saying he wished homosexuals would be put in front of a firing squad.

"I wish the government would round them all up, put them up against a firing wall, put the firing squad in front of them and blow their brains out," Jimenez said.

ABC10 reached out to Jimenez. He did not respond to our requests for a response.