Thousands of people marched through the capital city of Hungary, Budapest, to defend the rights of the LGBTQI+ community.

It comes after the government tried to limit discussion of homosexuality and transgender issues in schools.

A law to limit teaching on the subject came into force this month and Prime Minister Viktor Orban plans to back it up with a referendum.

A spokesperson for Hatter, the country's leading LGBTQI+ rights association, says that the law "encourages" and "legitimises being openly homophobic or transphobic."