Madden, from Dunbar, East Lothian, pleaded guilty on indictment to maliciously causing damage to the display case at Edinburgh Castle when he appeared at the capital’s sheriff court in December.