In a bid to curtail hate speech ahead of the 2020 Games, Tokyo on Friday adopted an anti-discrimination ordinance aimed at protecting the LGBT community.

The rule is the first ordinance at the prefectural level to contain a stipulation prohibiting discrimination against LGBT people and other sexual and gender minorities.

The Tokyo Metropolitan Assembly approved the ordinance at its regular session held Friday, despite criticism that there had been insufficient debate over potential conflicts between the measure and laws to protect free speech.