malone, new york (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 and was 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.









"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.









no law enforcement officers were injured during sweat's apprehension.









"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."









sweat was imprisoned at the clinton correctional facility for shooting dead an officer who pursued him after a robbery he committed.









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.









"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 were gathering 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.









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.









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.









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.
david sweat shot, captured alive after new york manhunt
noauthor