A patient of an Exeter hospital set fire to the psychiatric unit because he was not allowed takeaway, a court has heard.
Exeter Magistrates' Court was told George Nott, 53, started the fire at the Cedars Unit in Exeter last August.
Nott, from Black Dog, near Crediton, admitted arson at Exeter Magistrates' Court.
He was given a two-year conditional discharge and ordered to pay £3,289 in compensation and costs.
The fire was started in a toilet on a ward in the unit, near the Royal Devon and Exeter Hospital causing about £3,200 worth of damage.
Nott, who has bipolar disorder and was a voluntary patient, was unhappy he could not have takeaways and fizzy drinks and accepted it was a "reckless act", his lawyer Jeremy Asher told the court.
Mr Asher said Nott had been fed up with staff and felt isolated but did not intend to injure anybody.
The Cedars Unit has two wards with 48 beds for male and female patients. It is operated by the Devon Partnership NHS Trust.