The U.S. Justice Department said on Tuesday it had reached a settlement with General Motors to resolve the department’s determination that the American automaker discriminated against non-U.S. citizens.

Under the terms of the agreement, the company will pay $365,000 in civil penalties to the United States, the Justice Department said in a statement. GM did not immediately respond to a request for comment on Tuesday.

A Justice Department investigation determined that until at least September 2021, GM’s export compliance assessments unnecessarily required lawful permanent residents to provide an unexpired foreign passport as a condition of employment, imposing a discriminatory barrier on them in the hiring process, the department said.