Faramir is gravely wounded after a futile effort to retake Osgiliath, and believing his son to be dead, Denethor falls into madness. Gandalf is left to command the city defences against the Orc army led by Gothmog. But as Gothmog's forces eventually force their way into the city, Denethor tries to kill himself and Faramir on a pyre. Pippin alerts Gandalf and they save Faramir, but Denethor leaps to his death from the top of Minas Tirith just before Théoden and the Rohirrim arrive. Initially the Rohirrim have the advantage at the Battle of the Pelennor Fields, but are eventually overwhelmed by the Oliphaunt-riding Haradrim while the Witch-king mortally wounds Théoden. Though Théoden's niece Éowyn, having posed as a male soldier, battles and slays the Witch-King with Merry's help, Théoden dies of his wounds. Aragorn arrives with the Army of the Dead, they overcome the Orcs and win the battle. The Dead are released from their curse, and the wounded are tended to. In the Houses of Healing