NEW YORK (AP) — A New Jersey man has been arrested outside St. Patrick's Cathedral in New York City with two jugs of gasoline.

Police say the 37-year-old man was stopped by security after he entered the landmark cathedral in Manhattan just before 8 p.m. Wednesday.

As the man was turned away, police say, gasoline spilled out onto the floor. Security then notified nearby police, who questioned the man outside the church and took him into custody.

Police say the man was carrying over four gallons of gas, two bottles of lighter fluid, and two butane lighters.

Police were still talking to the man, who claimed his minivan had run out of gas.

St. Patrick’s Cathedral, which was built in 1878, has installed a sprinkler-like system during recent renovations and its wooden roof is coated with fire retardant.