State Police say a New Jersey state trooper shot and killed an aggressive pig after it threatened people, a dog and other animals.

'Animal control officers called for help after unsuccessfully trying to remove the 250-pound pig from a neighboring property in Woodbine on Monday.

State Police spokesman Sgt. Jeff Flynn says the pig attacked a beagle and was trying to break through a fence where the neighbor had other animals.

Flynn says animal control recommended the trooper put the pig down for the safety of the residents and the animals.

The trooper shot the pig three times.

State Police say the owner was previously warned about keeping the pig confined after it had escaped.

The dog sustained a laceration to the neck.