John owns an apartment building that is insured for $1 milli…

John owns an apartment building that is insured for $1 million dollars and he is having money problems due to a gambling addiction. John makes sure that the building’s smoke detectors are working because the building has dozens of tenants and he doesn’t want anyone getting hurt. He then sets the building on fire while people are inside to collect the insurance money.How is this crime classified?