The feral pig slept it off under a nearby tree. Photograph: AAP/Main roads WA

A rampage by a feral pig that consumed 18 beers has prompted warnings for people at campsites to properly secure their food and alcohol. The pig struck at the DeGrey River rest area, east of the remote Western Australian town of Port Hedland in the Pilbara, according to the ABC. The animal was seen stealing three six-packs of beer from campers before ransacking rubbish bags for food. One camper reported seeing the pig guzzling the beer before getting involved in an altercation with a cow. "In the middle of the night these people camping opposite us heard a noise, so they got their torch out and shone it on the pig and there he was, scrunching away at their cans," said the visitor, who estimated that the pig had consumed 18 beers.

"Then he went and raided all the rubbish bags. There were some other people camped right on the river and they saw him being chased around their vehicle by a cow."

The pig was reportedly last seen resting under a tree, possibly nursing a hangover. Feral pigs are considered an invasive pest in many parts of Australia owing to the diseases they carry, which can infect livestock. They also damage crops and compete with native species for food. Several state government advise people to report sightings of feral pigs so they can be removed. The feeding of the animals is also discouraged.