The so-called “world’s loneliest duck” has died on a remote Pacific island after being attacked by a dog.

Trevor, a mallard, became something of a celebrity for being the only bird of his kind on the small island nation of Niue.

His death on Friday was announced on a Facebook page dedicated to the animal.

“What a sad way for the journey of Trevor the Duck – Niue to end,” the social media post read. “He flew/blew to Niue in a storm about a year ago, chose to live in The Puddle by the side of the road, won the hearts of so many locals and tourists, he became a global celebrity and promoter of Niue.”

“Taken too soon by a dog. Rest in Peace Trevor – you were a very cool duck!” the post said.

Rae Findlay, Niue’s Chamber of Commerce chief who runs Trevor’s Facebook page, told the BBC that it’s believed Trevor came from New Zealand, but that it’s also possible he came from Tonga.

“He was a mallard duck so we called him Trevor Mallard after a local New Zealand politician, and the name stuck, “Findlay told the news outlet.

Before he was killed, the duck spent his time in a large puddle.

“There are no rivers, streams or lakes here, so Trevor chose to live in a puddle,” Findlay said.

According to the news outlet, the puddle that Trevor made home was regularly checked on by locals, and even the island’s fire brigade, whose members would refill the hole if the water level got too low.

“He regularly flew around to visit locals on their lawns and enjoyed the tasty treats they offered,” Findlay said. “He would be fed peas, corns and oats.”

Despite Trevor being known as the “world’s loneliest duck” he managed to become pals with a rooster, chicken and a native bird known as a weka, the BBC reported.

“The rooster, chicken and weka were looking a little forlorn today wandering around the near dry puddle,” Findlay said, adding that Trevor, “captured many hearts and he will definitely be missed.”