A 26-year-old man was sentenced to six months in jail for fatally punching a former Gaelic football player from Ireland outside a Queens bar, the Queens District Attorney’s Office said Thursday.

Queens resident Steven O’Brien cold-cocked John “Danny” McGee, 21, during a fight outside of The Gaslight in Sunnyside early on the morning of Thanksgiving 2018.

McGee crumpled to the ground from the hit, suffered a cardiac episode and died at the hospital.

O’Brien initially pleaded not guilty to third-degree assault, but he changed his plea to guilty last November.

Queens District Attorney Melinda Katz explained in a press release that O’Brien’s case was considered a “one punch homicide — where a single blow results in death and the only intent that can be proved is to cause physical injury.”

The highest charge supported by the “facts” in such cases was assault in the third degree, Katz said.

McGee, who was originally from the village of Drumlish in County Longford, had been a popular member of the Father Manning Gaels football club.

“Everyone in the club is shocked and saddened at the tragic passing of Danny McGee in New York,” the club posted on Twitter after his death. “Our deepest sympathies to his family and friends. RIP.”