PHILADELPHIA (CBS/CNN) — The search for a man who allegedly shot and killed a sheriff’s corporal in Maine, is finally over.

The manhunt spanned four days after investigators say Williams shot and killed Somerset County Deputy Eugene Cole, then stole his squad car, and robbed a convenience store.

READ MORE: Amber Alert Issued For 6-Year-Old Sahara Little After Car Stolen Outside Germantown Pizza Shop

In a symbolic gesture, officers used the handcuffs of the slain deputy to take John Williams into custody.

Credit: CBS3.

READ MORE: North Philadelphia Community Welcomes Home 3-Year-Old Boy After Hit-And-Run That Also Killed Mother

Authorities released images they say show Williams leaving the store that he went to following the killing of Sheriff’s Deputy Cole.

Details about how Williams was found weren’t immediately available.

A $20,000 reward had been offered for information leading to his capture, the FBI said.

MORE NEWS: 3 People Shot Inside Bar In Philadelphia's Holmesburg Section, Police Say

(© Copyright 2018 CBS Broadcasting Inc. All Rights Reserved. CNN contributed to this report.)