A Brazilian family was stunned when their relative arrived at his own funeral after a mix-up when the dead body was identified.
The funeral of car washer Gilberto Araujo, 41, was being held in the town of Alagoinhas in north-east Brazil when Gilberto himself walked in.
His brother Jose Marcos, had identified a body at the city morgue as being that of his brother and it was taken to their mother's home for a wake.
Gilberto rushed to his mother's house after bumping into a friend in the street a few hours before the ceremony, who told him his family were in mourning.
"He went to his mother's home to let everyone know he was very much alive," police inspector Roberto Lima said.
A family friend revealed "some people fainted and others were so scared they ran away" when he arrived. "It was a big shock," the friend said.
Mr Araujo's sister-in-law Ana Paula explained: "The confusion started when news started circulating that a car washer had been shot dead.
"Police called my husband and told him that his brother had been killed and his body was at the morgue."
Gilberto's mother Marina Santana told reporters: "I am overjoyed. What mother wouldn't be after being told that her son is dead and then sees him alive."
The man who was actually dead was named as Genivaldo Santos Gama.
Mr Lima said the confusion was "understandable". "The two men closely resembled each other and both worked as car washers," he said.