Baton Rouge police late Sunday arrested a 46-year-old white man accused of waving a pellet gun at his black neighbors and calling them racially derogatory names.

Police arrived in the 800 block of Violet Street shortly before 9 a.m. and talked to the victims who said Kelley Pearsall waved a gun at them while shouting, “I got something for you,” followed by a racial slur, according to the arrest affidavit.

Police contacted Pearsall, who said his home had been burglarized multiple times, and “He is tired of the trouble in the neighborhood,” the affidavit says.

Pearsall admitted to having the gun, but said he was only moving it from his vehicle to inside his home, the affidavit says.

He told police where the gun was and it turned out to be a pellet gun made to look like a sniper rifle, the affidavit says.

Pearsall, 857 Violet St., Baton Rouge, was booked into Parish Prison on counts of aggravated assault and hate crimes.