After his death, the Fez authorities had Ferdinand's corpse embalmed with salt, myrtle and bay leaves. Ferdinand's heart, organs and intestines were taken out in the process (and promptly acquired by his fellow prisoners, who hid them in clay pots buried underground in a corner of their dungeon). Ferdinand's naked and disemboweled corpse was subsequently hung upside down from the battlements of the walls of Fez for public display. After four days, the body was placed in a sealed wooden coffin and once again hung from the same battlements "for a long time". In his hagiography, Alvares reports several "miracles" subsequently attributed to the coffin.