The town’s police department will assist federal Immigration and Customs Enforcement officers with detention of people in the country illegally.