For the current study, the researchers determined the relationship between ED and heart conditions such as heart attack, stroke and death from all causes in more than 6,000 men aged 55 to 88 with type 2 diabetes mellitus, who were followed for five years.