An investigation is underway after a prisoner died while on remand in Porterfield Prison in Inverness.
It is believed that 22-year-old Alness man Zach Banner was rushed to Raigmore Hospital on Hogmanay from his cell.
Doctors tried to save him but he died yesterday.
It is expected a fatal accident inquiry will be held into the death, as is the case with all deaths in custody in Scotland.
Mr Banner had appeared on petition in private at Inverness Sheriff Court on Friday on a number of charges including theft by housebreaking and assaulting police officers to their injury.
It was alleged that he had poured petrol over them after he had been discovered hiding in a shed.
He was also facing other charges of threatening and abusive behaviour, assault, theft, theft of motor cars, careless driving, attempting to pervert the course of justice and breach of bail.
The bail order was in relation to a serious assault charge. Bail had originally been refused but was granted after an appeal to the High Court.
But after his arrest on Thursday, December 28, he appeared at Inverness Sheriff Court the following day on December 29.
Mr Banner, who studied at Alness Academy, made no plea, was committed for further examination and remanded in custody.
He was pictured smiling with family and friends on his social media pages, and had said he was glad to be home earlier in December.
A Scottish Prison Service spokeswoman said she was not in a position to comment “at this time”.