After a two-state manhunt for “person of interest” Joseph K. Hanright ended in Methuen, Mass. on Sunday, Hanright told the officers who captured him that he was going to be in prison “for the rest of his life,” according to court documents.

Hanright, 29, of 3 Lafayette St., Allenstown, was wanted by New Hampshire investigators on a fugitive from justice warrant in connection with the fatal stabbing of 64-year-old Marshall J. Villeneuve in his Concord home last Friday.

In Lawrence (Mass.) District Court on Monday, a disheveled-looking and shackled Hanright waived a rendition hearing, facilitating his returned to New Hampshire. Essex County prosecutor Michael Delaney said Hanright will be returned to New Hampshire by the end of the week when he is “expected to be charged with murder.”

Villeneuve’s body was discovered Friday at 7:45 p.m. in his apartment at the Crutchfield Building, a public housing complex on Pitman Street in Concord.

In asking for the public’s help, investigators published security photos of Hanright and said they were looking for a stolen blue Mazda sedan with New Hampshire plates in connection with the murder. The Mazda was stopped by Methuen police at 2:15 p.m. on Saturday, according to court documents.

The driver fled, eventually leading police on a chase through dense brush, according to court documents. Police were able to locate the passenger, Amanda Jo Bailey-Roberge, later identified as Hanright’s wife, hiding behind a parked car in the driveway of 9 Adelaide Ave. She was arrested on outstanding warrants.

Hanright eluded police until 1:20 a.m. Sunday, when Methuen officer Kenneth Pilz saw a man limping across the parking lot of a Jackson Street business. Hanright initially gave a false name and explained he was looking for some water.

Pilz was aware of the search for a suspect the previous day and that the man resembled the person of interest. So as not to alert the suspect, Pilz agreed to meet Hanright at a nearby pizza shop to buy him some water.

While standing outside the pizza shop, other officers arrived and identified Hanright by a tattoo located on his back. Upon being handcuffed, a pat search of Hanright produced the key fob to the stolen Mazda.

At the Methuen police station, officers noticed a large cut on Hanright’s right palm. He allegedly told police he was cut by a knife and asked if police had found his knife. He told police he was hiding in a drain all day and only came out an hour before he was arrested.