JOHANNESBURG — A baby giraffe that was befriended by a dog after he was abandoned in the wild has died, a South African animal orphanage said.

The giraffe, named Jazz, collapsed after suffering a brain hemorrhage, the Rhino Orphanage in Limpopo Province said in a Facebook post on Friday.

“Our team is heartbroken,” the orphanage said. “The last two days before we lost him, Jazz started looking unstable on his legs and very dull, almost like he wasn’t registering everything,” it added. “He suddenly collapsed and we could see blood starting to pool back into his eyes.”

The baby giraffe had arrived at the orphanage a few weeks ago, just days after its birth. A farmer found him in the wild, weak and dehydrated, and called the center for help.