NASHUA, N.H. (CBS) — A dog that had been missing for exactly one year was recovered early Friday morning in Nashua, N.H.

The group Granite State Dog Recovery says it was notified nearly two weeks ago that there was a dog living along the Merrimack River with a group of feral cats. A family had adopted the dog last year, but she escaped shortly after adoption.

READ MORE: Omicron COVID Variant Detected In Massachusetts Woman

Gypsy checks out the camera in the kennel. (credit: Granite State Dog Recovery)

The team set up a kennel and food in it to attract the dog. They also put a camera in it to watch the dog, which they named Gypsy.

Holly Mokrzecki of Granite State Dog Recovery said they would stake out the kennel from 6 p.m. to 2 a.m. in hopes of catching Gypsy, and the first few nights the dog went into the kennel only long enough to grab the food dish and pull it all the way out.

READ MORE: Wind Gusts Across Eastern Mass. Projected To Be 50 MPH Or Higher On Monday Night

On the twelfth night of the stake out, Steven Sprowl of the NHSPCA rigged the kennel with a spring trap and baited it with a marrow bone. Gypsy couldn’t resist, and at 3 a.m. the door closed and Gypsy was captured.

Mokrzecki says Gypsy was taken to the Humane Society of Greater Nashua where she she the dog was happy and greeting everyone with licks and “smiles.”

Gypsy was recovered in Nashua, N.H. Friday after being missing for a year. (credit: Granite State Dog Recovery)

Gypsy tested negative for heartworm but positive for lyme disease.

MORE NEWS: Martin Richard Foundation Holds 4th Annual MR8K Race In Boston On Saturday

Mokrzecki says Gypsy will go up for adoption through the Humane Society of Greater Nashua within the next few weeks.