The writing has the support of Prime Minister Viktor Orbán's nationalist right-wing party Fidesz and received more than two-thirds majority, which was required in Monday's parliamentary vote.
Prior to the vote, opposition politicians and other demonstrators attempted to block the entrance to the parliament's parking garage to prevent government party members from entering.
The now adopted amendment means that public gatherings organized by LGBTQI groups, such as the annual Pride parade, are permanently banned. The law text refers to Pride being harmful to children. It states that the "moral and physical" development of minors is more important than freedom of assembly. What is called the "promotion" of homosexuality to minors was banned in 2021 in Hungary. It will now be possible to use facial recognition to identify individuals participating in or organizing the parade.
The amendment also provides a constitutional basis for denying the existence of certain minority groups' identities or sexual orientations.
The Orbán government has never supported the Pride parade. In recent years, several laws restricting LGBTQI people's rights have been introduced. For example, only heterosexual marriages are allowed in Hungary.