An Austin federal judge has dismissed a lawsuit filed by a white male lawyer who alleged the State Bar of Texas was following a “quota” system for appointing minority members to its board of directors after finding his case was mooted after the Texas Legislature changed the law.

Greg Gegenheimer filed the federal discrimination suit against the bar last year alleging it violated the equal protection clause of the Constitution by following a statute requiring that its board of directors must include four minority members who are defined as “female, African-American, Hispanic-American, Native American, or Asian-American.”