The U.S. housing agency said Thursday it is investigating 28 colleges and universities over campus housing that allows students to choose to live together based on shared identities like race and ethnicity.

The housing practices and programs may violate the Fair Housing Act, which guarantees equal access to housing for all Americans, said Housing and Urban Development Secretary Scott Turner in a news release.

The Trump administration has previously argued that campus housing based on race, including so-called affinity housing for Black students and other groups on college campuses, amounts to illegal racial discrimination.