What happened to Lord Nelson during the Battle of Trafalgar?

He was killed by a rifleman,