CNN reports that an arrest has finally been made in the hunt for a cop killer in Maine, after a manhunt that lasted four days.

John Williams, 29, is a resident of Madison, Maine, and was captured in the wilderness during a search that spanned 25 square miles. Details of the capture aren’t available at this time, but the FBI had issued a $20,000 reward for information leading to his arrest. The U.S. Marshals Service also aided in the search for Williams.

Williams is accused of shooting and killing Cpl. Eugene Cole between 1 and 2 a.m. Wednesday in Norridgewock after robbing a store. After killing the deputy, Williams allegedly drove Cole’s squad car to a convenience store and robbed it. Surveillance video showed Williams leaving the store after the robbery.

He had been scheduled to appear in court for a March 22 arrest in Massachusetts stemming from suspicion of having a gun without a license. His initial bail was set for $10,000 in that case, but it was lowered to $5,000 by a judge. Williams was able to post that bail amount and leave jail.

Cole’s car was found abandoned on the side of the road in the same town where he was shot.

*Photo credit Maine State Police