Answer
The immediate cause of McKinley's death was gangrene, a severe infection that developed in the tissues surrounding the bullet wound in his abdomen. Despite undergoing surgery and receiving medical care, the infection proved fatal, and McKinley succumbed to its complications eight days after the assassination attempt on September 14, 1901.