How does beowolf die?

Unaided by most of the warriors, Beowulf is killed as he and Wiglaf fight the dragon.