After Dronacharya's death on the 15th day of the Kurukshetra war, Duryodhana appointed Karna as the supreme commander of the Kaurava forces. Karna led the army for two days (days 15-16) until he was killed by Arjuna. Ashvatthama took command only after Karna's death.