After being captured and having his tail set on fire by Ravana's demons, Hanuman escaped his bonds and used his burning tail to set the city of Lanka ablaze. Rama led the army, and Sugreeva and Vaali were Vanara kings, but the specific act of burning Lanka is attributed to Hanuman.