Justice was served — and then lunch.

Small-town cops in Pennsylvania wagered a large turkey hoagie to arrest accused health care CEO killer Luigi Mangione, a Manhattan court heard Thursday.

Altoona, Pa., Lt. William Hanelly, who oversaw last December’s arrest of Mangione, testified that he offered a cop the free sandwich — from a local restaurant coincidentally called “Luigetta’s” — if he made the improbable collar.

“If you get the New York City shooter I’ll buy you Luigetta’s for lunch,” Hanelly texted to Officer Joseph Detwiler, who responded to a 911 call from a giggling, incredulous manager at the local McDonald’s where Mangione was nabbed.

Hanelly, who punctuated the text with a “wink” emoji, testified “it seemed preposterous” that the man wanted in the headline-grabbing Midtown

See Full Page