long he fought on , and undismayed , though he was wrapped in fire and wounded with many wounds ; but at the last he was smitten to the ground by gothmog , lord of balrogs , whom ecthelion after slew in gondolin .