According to Hindu mythology, the demon Mahisashura received the boon of immortality from Lord Brahma after intense penance. The boon stated that no man or god could kill him, which made him invincible. This led to the creation of Goddess Durga, who eventually defeated and killed him, earning the title Mahisashuramardini.