Follow KDKA-TV: Facebook | Twitter

PITTSBURGH (AP/KDKA) – A judge says he will “seriously” consider a motion to bar the death penalty in the case of two men accused of killing five people and an unborn baby at a Pennsylvania cookout.

READ MORE: Franklin Park YMCA Installs Butler Co. Company's Virus-Killing Copper Material Invention

Thirty-one-year-old Cheron Shelton and 30-year-old Robert Thomas are charged in the March 2016 killings on Franklin Street in Wilkinsburg.

Authorities allege Thomas opened fire on one side and Shelton then gunned down victims running onto a porch for safety.

READ MORE: Former Allegheny County Council President John DeFazio Passes Away

Left: Cheron Shelton, Right: Robert Thomas (Photos Courtesy of Allegheny County Jail)

Common Pleas Judge Edward Borkowski said Monday that he is seriously considering a motion to bar capital punishment as unconstitutionally cruel. He said he has other concerns about the application of the death penalty in Pennsylvania, including the cost and the impact on jurors.

“This is refreshing because here we have a Common Pleas judge that’s actually looking at constitutional issues involving a defendant and whether or not they should be prosecuted for capital punishment,” said attorney Phil DiLucente, who is not involved in the case.

Prosecutors have 30 days to respond to the motion.

MORE NEWS: Police: Man Falsely Reports His Vehicle As Stolen, Googles 'How To Set Your Car On Fire And Make It Look Like An Accident'

(TM and © Copyright 2018 CBS Broadcasting Inc. All Rights Reserved. This material may not be published, broadcast, rewritten, or redistributed. The Associated Press contributed to this report.)