PORTLAND, Ore. (AP) — A federal judge Thursday dismissed a lawsuit by a transgender woman who accused the the Miss United States of America pageant corporation of discrimination for denying her the right to participate in competitions.

U.S. District Judge Michael W. Mosman found that the pageant association cannot be required to allow a transgender woman to participate in light of its mission to promote “natural-born” females, The Oregonian/OregonLive reported.

“I view it as an association that cannot under the Constitution be required to allow plaintiff to participate in what defendant says is a contradiction of that message,” Mosman ruled from the bench.

Anita Noelle Green of Clackamas, Oregon said she was disappointed in the ruling.

“This case brought awareness to an issue many people were and still are unaware of and that issue is that discrimination against transgender people is still actively happening in the private and public sector even within the pageant circuit,” Green said in a statement.

Attorney John T. Kaempf, who represented Miss United States of America LLC, said his client is not anti-transgender but just wants to hold a pageant that is only for biological females.

Green holds the title of 2019 Miss Earth Elite Oregon and competed in the 2018 Miss Montana contest.

Her application to participate in the Miss United States of America national pageant in 2019 was rejected.