James Cameron will appear in a New Mexico courtroom before returning to Maine

A former Maine prosecutor who disappeared just hours after an appeals court upheld his child pornography convictions has been arrested in Albuquerque, N.M. after nearly three weeks on the run.

Marshals in Maine received information that James Cameron was in New Mexico and alerted the local Marshals. The New Mexico deputies conducted surveillance on Cameron and arrested him without incident Sunday morning.

Cameron was transported to the Sandoval County Detention Center in Rio Rancher, N.M. Cameron will return to Maine after appearing in court in New Mexico today.

US Marshal Noel March said, "This is an example of what the U.S. Marshals Service does best, locating and apprehending fugitives."

Cameron disappeared in mid-November after cutting off his court-ordered electronic monitoring bracelet and driving off in his car.

The 50-year-old Cameron was convicted of child pornography charges in 2010 and sentenced to 16 years in prison.

A federal appeals court in August 2011 ordered that Cameron be freed on unsecured bail pending his appeal. In its decision last month to uphold some of the convictions and vacate others, the appeals ordered Cameron's case back to U.S. District Court in Maine for resentencing.