Two law enforcement officials say a man accused of killing one Pennsylvania state trooper and seriously injuring another during an ambush last month was captured by U.S. marshals in an abandoned airplane hangar.

They say Eric Frein surrendered.

The officials weren't authorized to discuss the circumstances of Frein's arrest and spoke to The Associated Press on the condition of anonymity.

State police in Pennsylvania confirmed they had Frein in custody Thursday following a seven-week hunt for him.

Authorities have called Frein a survivalist who had a vendetta against law enforcement. They had been pursuing him in the woods and had reported several suspected sightings.

Frein is charged with opening fire outside the Blooming Grove barracks on Sept. 12. Cpl. Bryon Dickson was killed, and Trooper Alex Douglass was critically wounded in the attack.

Frein's parents have declined to comment.

More From WBSM-AM/AM 1420