During a funeral for a murder victim, a Chicago man pulled out a gun and shot into the grave in front of a crowd of mourners.

According to Fox News, the man has been sentenced to 15 years in federal prison.

“You ain’t [expletive],” Elston Stevenson, 57, said before he fired a single bullet, according to the Justice Department (DOJ). “You got what you deserved.”

Reportedly, the heinous incident occurred at the Evergreen Cemetery in Evergreen Park on Nov. 22, 2017.

Immediately after, Stevenson fled the funeral, waving his gun at the mourners as he ran.

He was arrested by law enforcement near the cemetery gate.

“When a felon brings a loaded gun to a populated area and uses the gun to threaten and endanger strangers, this conduct will not be tolerated,” Assistant U.S. Attorney Cornelius Vandenberg argued in the government’s sentencing memorandum.

“My hopes are the deaths of these young people won’t be in vain and will prick the hearts of the decision-makers who release violent offenders on electronic monitoring back into these very communities to mete out this kind of violence every weekend,” he said.

More from Fox News:

Murad Talib had been killed two days earlier, gunned down in his driveway in a Palos Heights subdivision, according to Patch.

Investigators looked at Stevenson in connection with the slaying but determined he was not involved in the actual homicide, the outlet reported.

Stevenson pleaded guilty to one count of illegal possession of a firearm by a previously convicted felon before a judge handed down the sentence last week.

Gun violence has plagued Chicago for years and has spiked in 2020 — with at least 1,782 people shot so far this year. That’s 550 more than at this point in 2019.

Over the Fourth of July holiday weekend, at least 17 people were killed by gunfire, including multiple children. Another 70 people were wounded.

On Monday, Chicago Police Superintendent David Brown responded to the recent violence, calling on the city and criminal justice system to step up and help police tackle the issue.