Final answer:
James Madison died on June 28, 1836, due to heart failure. He was the fourth President of the United States.
Step-by-step explanation:
James Madison died on June 28, 1836. The cause of his death was heart failure. He suffered from heart problems in his later years and ultimately succumbed to the condition. Madison was the fourth President of the United States and served from 1809 to 1817.