Police received an anonymous complaint about 8:45 p.m. Saturday that someone in a van with New York plates was filling up five-gallon buckets with gas at the Valero station at 347 Boston Post Road, police said.
Officers arrived at the scene and found that Yunus Latif, 47, of Richmond Hill, N.Y., was filling up buckets from The Home Depot with gas. Latif told the officers he was unable to get gas in New York because it was sold out.
He said his neighbors gave him money to buy gas; he had about 30 buckets of gasoline in the van, each of which contained about four gallons of gas.
The officers saw that the buckets had lids that had not been properly fastened, and the lids were beginning to expand, police said. The gas had not been put in proper containers, they said.
Police called the local fire marshal and the state Department of Energy and Environmental Protection. Officials decided to return the gasoline to its underground tanks.
Latif was charged with violation concerning flammable or combustible liquids, police said. He was given a court date of Nov. 19, at Superior Court in Derby.