When the last of the wealthy Rezzonico family disappeared , Elizabeth Barrett and Robert Browning bought the palazzo , and the poet died in a first-floor apartment in 1889 .
The poet died of a heart attack in 1889 .