SÃO PAULO, Brazil — At least five students were killed in Brazil on Wednesday when two assailants, both former students, broke into a school and opened fire, police officials said.

The attackers also killed two employees at the Professor Raul Brasil school in Suzano, a satellite city of São Paulo, and injured at least nine other students. The police said the assailants fatally shot the owner of a nearby car rental outlet on their way to the school.

The attackers killed themselves after their rampage.

The police said the students killed were all about 15 years old.

“It’s the saddest scene I’ve witnessed in my whole life,” the São Paulo governor, João Doria, said after visiting the school. He declared three days of mourning.