After Karna's death on the 17th day of the war, Shalya, who was the king of Madra and maternal uncle of Nakula and Sahadeva, was appointed as the commander-in-chief of the Kaurava forces. He led the army on the 18th and final day before being killed by Yudhishthira.