Residents of a New Jersey homeless encampment will not be evicted from their tents in the woods without being offered indoor housing for at least a year under terms of an agreement reached Friday.

Tent City hearing (TheLakewoodScoop.com)

Jeff Wild, an attorney for 80 or so residents of Tent City, says the agreement still must be ratified by the homeless themselves, as well as Lakewood officials.

The camp, in Lakewood, has been home to 80 or so residents for seven years.

Lakewood had wanted the judge to order the residents to apply for county assistance, ban any new arrivals and shut the site down.

Advocates for the residents say the region lacks shelters for homeless adults.

The judge ruled last year the government had some responsibility to care for the poor.