Suspected cop killer Eric Frein is in custody, Pennsylvania state police said on Thursday, ending a lengthy manhunt for one of the FBI’s most-wanted fugitives.

In a brief, emailed statement to The Post, Trooper Connie Devens confirmed that police have taken Eric Frein into custody. Police will release further information at “a later time.” Devens declined to confirm other details pertaining to Frein’s capture.

Two law enforcement officials speaking to the Associated Press said that Frein was captured Thursday by U.S. Marshals in an abandoned airplane hangar.

A reporter at WBRE tweeted what is reportedly the first photo of Frein in custody:

Frein’s listing on the FBI’s most wanted site now reads, “Captured.” “Our thanks to the public and our partners,” the FBI said in a tweeted statement. 

The capture ends a 48-day search for the man accused of killing a Pennsylvania state trooper, Bryon Dickson, and wounding another, Alex Douglass, on Sept. 12 in an ambush outside of Blooming Grove state police barracks.

Frein, 31, is a survivalist who eluded capture for weeks, despite several reports of sightings. However, authorities found several items believed to belong to Frein in the mountains, including military-style food packs, pipe bombs, ammunition and clothing.

Police also found a handwritten journal, which included what police described as a “cold-blooded” account of the Sept. 12 ambush.

The lengthy hunt unnerved nearby communities. Several schools closed in northeastern Pennsylvania last week as police investigated a possible sighting of the suspect.

Barrett Township authorities cancelled Halloween. According to NBC’s Philadelphia affiliate, Halloween is now back on after Frein’s capture.

Abby Phillip contributed to this report. 

[This post has been updated multiple times]