Buy him a cat.
For the record, chasing away the neighbor’s stray cats is the first order of business and perhaps the original reason for the pellet gun.
By the way, my problem is skunks. They root up the yard as bad as wild hogs