Sean Connery in 'Dr No'. Image Credit: Supplied

Nearly a month after the demise of legendary James Bond actor Sean Connery, his death certificate reveals that he died in his sleep from heart failure.

The death certificate obtained by TMZ suggests that the late actor died from atrial fibrillation caused due to old age and pneumonia.

Atrial fibrillation is a rapid and irregular heart rate that may lead to poor blood flow.

The ‘Dr No’ actor died at his residence in the Bahamas on October 31 at the age of 90.

According to People magazine, it was reported earlier this month that Connery’s ashes were to be scattered in Scotland, where he was from.