BOSTON (AP) — A civil rights group has sued a Massachusetts sheriff who joined a federal immigration enforcement program and offered to send inmates to help build President Donald Trump’s proposed wall along the U.S.-Mexico border.

The Lawyers’ Committee for Civil Rights and Economic Justice filed suit Thursday against Bristol County Sheriff Thomas Hodgson to obtain public records related to Hodgson’s participation in a program that will allow his staff to identify and detain inmates who may have entered the country illegally.

READ MORE: Police Search Woods After Man Fired BB Gun Behind Salem Walmart

The group alleges that Hodgson violated the state’s public records law by refusing to release documents in response to its request.

READ MORE: Wellesley Man Killed In Ipswich Mountain Bike Crash

Hodgson announced in January that his office would join the controversial immigration enforcement program.

MORE NEWS: Massachusetts Reopening Plan: COVID Restrictions Loosen Monday, Including Restaurant Capacity

A spokesman declined immediate comment, but said Hodgson will respond after he has reviewed the lawsuit.