The LGBT community in Chile has gained some rights in recent years. In 2012 it was approved the anti-discrimination law that includes sexual orientation and gender identity as protected categories. The law penalizes the arbitrary discrimination, allows citizens to file anti-discrimination lawsuits and requires the State to develop public policies to end discrimination. The law also adds heightened punishments for hate crimes. The same year, the Armed Forces of Chile abolished all internal rules that prevented homosexuals from entering the Army, adapting the practices and regulations of the institution to the anti-discrimination law.