A North Carolina man and woman each pleaded guilty to charges stemming from a North Myrtle Beach home invasion and were sentenced to prison terms, according to authorities.

Kristy Merritt Rich, 35, of Harrells, N.C., pleaded guilty Friday to kidnapping and first-degree burglary before Circuit Court Judge W. Jeffrey Young, who sentenced her to 25 years in prison on each charge, according to court records. She was given credit for the 267 days she’s served since being arrested on Jan. 20.

Nicholas Adam Melvin, 23, of Lumberton, N.C., pleaded guilty to kidnapping and was sentenced by Young to eight years in prison and given credit for the 446 days he’s served since being arrested on Aug. 6, 2011, according to court records.

Both must pay court costs.

Two other men, Daniel Gene Autry, 24, of Bladenboro, N.C., and Randy Eugene Melvin II, 23, of Lumberton, N.C., also were charged in connection with the incident. They pleaded guilty in September.

Autry and Randy Melvin each pleaded guilty to second-degree burglary and kidnapping and were sentenced by Circuit Court Judge Larry Hyman to six years on the burglary charge and 12 years on the kidnapping charge, according to court records. The sentences for each man will run concurrently and they were given credit for the time served.

The charges stemmed from July 22, 2011, when a North Myrtle Beach homeowner reported the four people broke into his home on Magnolia Drive at night and tied him up before they went through his home, according to the 15th Circuit Solicitor’s Office.