NEW YORK (CBSNewYork) – A suspected arsonist seen on video setting a Bronx apartment building on fire was arrested Tuesday, police say.

Surveillance video shows the man pour some type of accelerant in the lobby of the building on Bailey Avenue in the Kingsbridge section. He puts a piece of paper on the floor and lights it before running away.

READ MORE: Parents Of Gabby Petito Expected To Hold Press Conference Tuesday On Long Island

The building’s superintendent told CBS2 there were about 300 residents asleep inside.

(Photo: Samuel Flores)

“I woke up my family and my wife and said, ‘get ready, we have a fire,’” Samuel Flores said. “I said, ‘something really wrong is happening.’”

READ MORE: Caught On Video: Police Say Man Suspected Of Robbing 7 Unsuspecting Seniors In The Bronx

Fortunately, no one was hurt in the fire, which was contained to the lobby.

“Somebody did it on purpose, but I don’t have any idea why or who. This is a nice building, quiet building, people are nice,” said Flores. “He didn’t do this against one person. It was against the whole building.”

MORE NEWS: New York City Teachers, Staff Face New Vaccine Deadline, But Some Look To Push Legal Battle To Supreme Court

Waldo Mejia, 23, was arrested Tuesday and charged with arson and burglary. It’s still unclear why the building was targeted.