CNN
Now playing
01:48
Gov. Cuomo: 'The nightmare is finally over'
famous prison escapes orig nws_00000624.jpg
famous prison escapes orig nws_00000624.jpg
Now playing
02:28
From power tools to helicopters: famous prison escapes
inmates trash escape prison newsource orig_00000917.jpg
Louisville Metro Dept. of Corrections
inmates trash escape prison newsource orig_00000917.jpg
Now playing
00:48
Watch inmates use trash bins to escape prison
French prison escapee Redoine Faid
Courtesy Jean-Luc Bertini
French prison escapee Redoine Faid
Now playing
01:06
Gangster escapes French prison for second time
Aaron Davis Clark, Victor Andrew Apodaca, Ricky Ramon Sena
Curry County Sheriff's Office
Aaron Davis Clark, Victor Andrew Apodaca, Ricky Ramon Sena
Now playing
00:53
3 inmates escape from jail in boxers
West Virginia Dept. of Military Affairs and Public Safety
Now playing
00:31
Inmate escapes jail after disguising himself
Twelve (12) inmates escaped from the Walker County Jail. Six (6) have been captured. Pictured,Brady Andrew Kilpatrick, age 24 of Cordova (in jail for Possession of Controlled Substance, Possession of Drug Paraphernalia, and Possession of Marihuana 2nd).
Walker County Sheriff's Office
Twelve (12) inmates escaped from the Walker County Jail. Six (6) have been captured. Pictured,Brady Andrew Kilpatrick, age 24 of Cordova (in jail for Possession of Controlled Substance, Possession of Drug Paraphernalia, and Possession of Marihuana 2nd).
Now playing
00:40
One inmate at large, after 12 escape jail
Lakewood Police
Now playing
00:45
Two men escape from psychiatric hospital
sc police
wis
sc police
Now playing
01:24
Inmate used drone, makeshift dummy to escape
A Tennessee Bureau of Investigation agent snapped this picture of escaped inmates Ricky Dubose and Donnie Rowe just after their capture in Rutherford County, TN Thursday night. The photo was posted to TBI's verified Twitter account shortly after their capture.
Tennessee Bureau of Investigation
A Tennessee Bureau of Investigation agent snapped this picture of escaped inmates Ricky Dubose and Donnie Rowe just after their capture in Rutherford County, TN Thursday night. The photo was posted to TBI's verified Twitter account shortly after their capture.
Now playing
01:29
Escaped inmates caught by Tennessee homeowner
KWTV
Now playing
00:47
Inmates escape through ventilation system
Inmate shot in prison escape attempt pkg_00001304.jpg
KATV
Inmate shot in prison escape attempt pkg_00001304.jpg
Now playing
01:08
Inmate fatally shot in prison escape attempt
Dozens of inmates escape from a Mexican prison in Ciudad Victoria by tunneling underneath a prison wall.
Dozens of inmates escape from a Mexican prison in Ciudad Victoria by tunneling underneath a prison wall.
Now playing
01:01
Inmates use tunnel to escape Mexican prison
Armed police stand guard at the gates of the district jail, where more than a hundred inmates escaped from, in the town of Kidapawan, in southern island of Mindanao on January 4, 2017.
More than 150 inmates of the southern Philippine jail escaped when suspected Muslim rebels stormed the dilapidated facility in a pre-dawn raid on Janaury 4, killing one guard, authorities said. / AFP / FERDINANDH CABRERA        (Photo credit should read FERDINANDH CABRERA/AFP/Getty Images)
FERDINANDH CABRERA/AFP/AFP/Getty Images
Armed police stand guard at the gates of the district jail, where more than a hundred inmates escaped from, in the town of Kidapawan, in southern island of Mindanao on January 4, 2017. More than 150 inmates of the southern Philippine jail escaped when suspected Muslim rebels stormed the dilapidated facility in a pre-dawn raid on Janaury 4, killing one guard, authorities said. / AFP / FERDINANDH CABRERA (Photo credit should read FERDINANDH CABRERA/AFP/Getty Images)
Now playing
00:49
Over 150 inmates escape Philippines prison
canada prison inmate helicopter escape surveillance footage pkg_00003505.jpg
canada prison inmate helicopter escape surveillance footage pkg_00003505.jpg
Now playing
01:26
See inmates' dramatic helicopter prison escape
Georgia prison inmates Donnie Russell Rowe (left) and Ricky Dubose escaped on Tuesday morning, the state department of corrections said.
Georgia Department of Corrections/Oconee County Sheriff's Office
Georgia prison inmates Donnie Russell Rowe (left) and Ricky Dubose escaped on Tuesday morning, the state department of corrections said.
Now playing
01:15
Manhunt for escaped Georgia inmates
David Sweat and Richard Matt
NY State Police
David Sweat and Richard Matt
Now playing
02:49
NY prison escape video tour

Story highlights

David Sweat is listed in critical condition at Albany Medical Center

Sgt. Jay Cook was alone when he shot Sweat

Sweat's prison-break partner, Richard Matt, was shot dead on Friday

(CNN) —  

After a massive, more-than-three-week manhunt for David Sweat, the escaped murderer is back where he started – in custody.

Authorities said a New York State Police sergeant – identified as Jay Cook – spotted Sweat, and after Sweat ran, the sergeant gave chase.

“At some point, running across a field, he realized that Sweat was going to make it to a tree line, and possibly could have disappeared, and he fired two shots,” New York State Police Superintendent Joseph A. D’Amico told reporters.

Sweat, who was unarmed, was hit twice in the torso.

A photo exclusively obtained by CNN shows Sweat in custody moments after his capture. He appears bloodied in the photo and is wearing a camouflage outfit, not prison garb.

He was taken into custody in the town of Constable, in upstate New York, very close to the Canadian border.

CNN exclusive photo: David Sweat during his capture.
CNN exclusive photo: David Sweat during his capture.

“I can only assume he was going for the border, that he was that close,” D’Amico said.

Sweat was captured about 16 miles north of the location where fellow escapee Richard Matt was killed last week. The officer was alone when he shot Sweat.

Sweat was transported to the Alice Hyde Medical Center in Malone, an officer at the hospital told CNN. He was later moved to Albany Medical Center, where he was listed in critical condition, according to Dennis McKenna, medical director there.

Emergency, trauma, intensive care, radiology and vascular surgery specialists are involved in his care, McKenna said.

It’s critically important that Sweat stay alive, officials said, so authorities can learn how he and Matt escaped – and who helped them.

“The nightmare is finally over,” said New York Gov. Andrew Cuomo. “We wish it didn’t happen in the first place. But if you have to have it happen, this is how you want it to end.”

The break

The arrest wraps up the statewide search for Sweat and his prison-break partner, Matt. Matt was shot dead Friday.

Matt and Sweat used power tools to carve their way out of the Clinton Correctional Facility on June 6.

Behind bars, Sweat and Matt cozied up to a prison tailor and a guard who allegedly brought them tools, which they used to cut their way through a labyrinth of multiple barriers and underground passageways. They emerged to freedom through a manhole in the middle of a street.

Guards discovered them missing on June 6, during a routine bed check.

Law enforcement experts stressed Sunday that it’s crucial Sweat survive so that officials can learn exactly how he and Matt escaped, and who helped them.

HERE Maps

“Now that we have Mr. Sweat, it gives us the opportunity to have some more questions and provide more facts on the overall situation,” Cuomo said. “Anyone who we find who was culpable and guilty of cooperating in the escape will be fully prosecuted.”

D’Amico told reporters that investigators haven’t yet interviewed Sweat, but that they hope to soon.

Investigators have questioned guards at the Clinton Correctional Facility about what conversations they had with the escapees about life outside the prison, according to a law enforcement official.

They believe Sweat and Matt had gathered information for almost a year about hunting cabins and the fields around the prison to help them navigate the terrain.

It’s believed their conversations with the guards might have given the escapees some knowledge of how to get around, the official said.

The search

Earlier Sunday, about 1,300 federal, state and local law enforcement officers were searching vehicles at roadblocks and scouring dense woods in upstate New York for Sweat.

Since he and Matt broke out of the maximum security prison in Dannemora together – and appeared to stick together on their flight from the law – authorities were hopeful they could be right on Sweat’s heels after encountering Matt.

Who are Richard Matt and David Sweat?

Searchers had at times followed two sets of footprints, but when they gunned Matt down one day after his 49th birthday, there was no sign of Sweat nearby.

So, on all-terrain vehicles and in helicopters, they continued looking for the man who eluded them for three weeks, using infrared vision devices to peer through the night.

D’Amico admitted that authorities had a hard time tracking the fugitives and offered a possible explanation: pepper.

“We believe that possibly these two males were using pepper to throw the scent off of the dogs that were tracking them,” he said.

The search Sunday was focused on an area along New York’s State Route 30 between County Route 41 in the town of Malone and County Route 26 in the town of Duane.

’Thank God!’

Audra Buchanan of Constable said she was stunned to hear recently that Sweat could be near her home.

“We were so nervous,” she said. “We’ve had our housed locked down.”

When she saw on CNN that Sweat had been shot and was in custody, she said she felt “an incredible sigh of relief.”

When she heard sirens and saw ambulances fly by her home, she thought, “Oh my God, thank God!” she told CNN’s Suzanne Malveaux.

Her 9-year-old daughter has been begging to go outside and play for weeks, and Buchanan said she’s glad she can now let her.

Sweat’s mother described a similar feeling of relief. Pamela Sweat spoke to Time Warner Cable News after her son was captured.

“We started crying because (he) wasn’t killed,” she said.

A timeline of the New York prison break

Alexandra Field reported from Malone and Deborah Feyerick from New York. Dana Ford wrote this report from Atlanta. CNN’s Ben Brumfield, Ray Sanchez, Linh Tran, Lorenzo Ferrigno, Ashley Fantz, Catherine E. Shoichet, Shimon Prokupecz, Pamela Brown, Jennifer Moore, Polo Sandoval, Jean Casarez, Joshua Berlinger Camille Cava and Katie Tutrone also contributed to this report.