Original: He soon fell ill and died in a public hospital in Barcelona, Spain, on July 4, 1896 at the age of 45 run by the Sisters of Charity.
Simplified: He died of tuberculosis in abject poverty in Barcelona, Spain, on July 4, 1896 at the age of 45.