Anubis stopped and subdued Set, however, and he branded Set's skin with a hot iron rod. Anubis then flayed Set and wore his skin as a warning against evil-doers who would desecrate the tombs of the dead.[35] Priests who attended to the dead wore leopard skin in order to commemorate Anubis' victory over Set. The legend of Anubis branding the hide of Set in leopard form was used to explain how the leopard got its spots.[36]