How did Leonardo DiCaprio died in The Quick and the Dead?

The best answer is the description of what the character is doing, how did he died, what did he do before he died, and his last words.