A Glendale man was arrested after he allegedly set a homeless person on fire and then took photos of him earlier this month.

According to a Glendale police’s news release, Glendale officers responded to Harvard and Brand in Los Angeles County, California, at around 1:20 a.m. on Sept. 12 to assist the Glendale Fire Department with a small fire on the sidewalk.

A homeless man awoke to the smell of smoke and found the cardboard box encampment he was sleeping under on fire. He said he attempted to put out the blaze with bottled water but was unable to.

The fire was set near the Museum of Neon Art.

Detectives obtained surveillance video from a nearby business that showed a man intentionally setting fire to the cardboard structure and pausing to take pictures of flames, according to the press release.

The male was later identified as Richard Smallets, 32. He was arrested after being questioned by detectives.

Los Angeles County District Attorney’s Office charged Smallets with attempted murder the next day. He was held on a $1 million bond.

Los Angeles’ KTLA reported that Smallets pleaded not guilty during a previous court hearing on Sept. 16 and appeared again Tuesday for a pretrial hearing, according to records.