The Boy Scouts of America will now admit transgender children into its programs, the Associated Press is reporting.

The organization announced Monday that it had made the decision to base enrollment in boys only programs on the gender a child or parent lists on the application to become a scout. The organization had previously held a policy that relied on the gender listed on a child’s birth certificate.

A spokeswoman for the organization said it made the decision based on states and communities changing how gender is defined.

Last year, an 8-year-old transgender boy joined a Cub Scout pack in Secaucus, New Jersey, and, after the organization received complaints from parents, Joe Maldonado was kicked out. He and his mother then sued the Boy Scouts of America Northern New Jersey Council.

Earlier this month, a spokesperson for the Boy Scouts of America stated that the organization had a non-discrimination policy regarding sexual orientation, but considered gender identification a separate issue.