CONCORD, N.H. (AP) — A federal appeals court has ruled that an immigrant from Brazil who faced deportation can stay in the United States as he appeals his case.

The 1st Circuit Court of Appeals in Boston granted the stay Tuesday for 58-year-old Renato Filippi, of Nashua, New Hampshire.

Filippi was scheduled to be removed on Nov. 6. He argued that the U.S. isn't honoring a 15-year-old agreement allowing him to remain in the country permanently.

Filippi said he entered the U.S. through Mexico in 2002 with the help of smugglers. He was arrested, but said U.S. authorities recruited him to serve as a confidential informant on the people who assisted with his entry. In exchange, he was allowed to stay and got a job, a house, a Social Security card and a driver's license.