The Tanzanian government has banned 16 titles of a popular children’s book series from being used in schools for allegedly advocating LGBTQ rights.

The Diary of a Wimpy Kid series are said to violate the country’s traditions, customs and cultures, according to the authorities.

Education Minister Adolf Mkenda said the books endanger the quality of education for children.

Schools using the books will face disciplinary and legal measures, including having their registration revoked, the authorities said.