After his arrest he provided the police with the pin to his iPad and phone and the images were taken down from the web.

Mr Little said the offences were high culpability because "even the fact of the death would not have been known to the family" of the victim at this early stage.

The court heard the victim has yet to be identified and the defendant had been kept in custody for his own safety after his arrest.

Michelle Denney for the defence said "It was an unusual case" and Mwaikambo, who has not previous convictions, had been making tea for the firefighters.

She said: "He found the deceased person and was shocked by the fact the body was there and felt a sense of shock that the body was there unattended."

The defendant had tried to find someone to come and help but "there was not one else in sight" and took the photos to "show how the victim was being treated" and get someone's attention.

She said: "He was not someone that has gone to the scene to look at what's going on in some macabre way."

She added her client had witnessed a lot of the terrible things throughout the night, it was an "error in judgement" to post the images and "would not have done so had he not witness some of the traumatic events that unfolded".