his friends had been tortured and burned to death , he was excommunicated and under a death sentence should he venture outsidescotland ; as a young man he had been made guardian of the treasure , his entire life dedicated to and dominated by the burden he had accepted .