Iravan (Aravan) is a minor character from the Hindu epic of Mahabharata. The son of Pandava prince Arjuna (one of the main heroes of the Mahabharata) and the Naga princess Ulupi, Iravan is the central god of the cult of Kuttantavar and plays a major role in the cult of Draupadi. Both these cults are of South Indian origin, from a region of the country where he is worshipped as a village deity. The Mahabharata portrays Iravan as dying a heroic death in the 18-day Kurukshetra War, the epic's main subject. However, the South Indian cults have a supplementary tradition of honouring Iravan's self-sacrifice to the goddess Kali to ensure her favour and the victory of the Pandavas in the war. The South Indian cult focus on three boons granted to Iravan by the god Krishna in honour of this self-sacrifice. Iravan is also a patron god of well-known Indian transgender communities called Ali. In Koovagam, Tamil Nadu, an 18-day festival holds a ceremonial marriage of Iravan to Alis and male villagers and followed then by their "widowhood" after ritual re-enactment of Iravan's sacrifice. Iravan is also known in Indonesia. Independent Javanese traditions present a dramatic marriage of Irawan to Titisari, daughter of Krishna, and a death resulting from a case of mistaken identity.