Sir Sean Connery.

Sir Sean Connery's cause of death has been confirmed nearly a month after he died at the age of 90. The James Bond legend died in the early hours of Halloween at his home in the Bahamas. He died in his sleep, with the factors listed on his death certificate given as pneumonia, respiratory failure, old age and atrial fibrillation - an irregular heartbeat.

TMZ, which acquired the certificate, showed how the star died at his luxurious mansion in Nassau on the island of New Providence. Sean's wife Micheline Roquebrune had previously told how the actor had died peacefully in his sleep and surrounded by his family.

The Scottish star shot to fame in 1962 with Dr No, and went on to star in seven films across the franchise, including You Only Live Twice, Diamonds Are Forever and Goldfinger. He went on to win an Oscar for his portrayal of an Irish police officer in The Untouchables and was knighted by the Queen in 2000.

ALSO READ: James Bond icon Sir Sean Connery dies aged 90

Sean is survived by wife Micheline and his son Jason Connery. He is due to be cremated with his ashes scattered in his beloved Scotland. Micheline - who was married to Sean for 40-years - has also revealed that she plans to hold a memorial service for him near his Scottish home when travel regulations allow it.

She told The Scottish Mail On Sunday: “We are going to bring Sean back to Scotland — that was his final wish. He wanted his ashes to be scattered in the Bahamas and also in his homeland. Whenever it is possible and safe to travel again, then it is the family’s intention to return with him. We would like to organise a memorial service for him in Scotland — that is our hope."

Sean Connery and wife Micheline Roquebrune.

Sean had been "ill for some time" before he died in the Bahamas, his son recently revealed. Jason Connery shared the details of his father's final days during a chat with the BBC. He said that his dad died peacefully in his sleep surrounded by loved ones.

ALSO READ: Sean Connery's intense 40-year love affair with wife Micheline Roquebrune

Paying tribute to his film star dad, Jason said his death would be a "sad loss for a people around the world". According to Jason, Sir Sean "had many of his family who could be in the Bahamas around him" when he died in Nassau.

"We are all working at understanding this huge event as it only happened so recently, even though my dad has been unwell for some time," admitted Jason. A sad day for all who knew and loved my dad and a sad loss for all people around the world who enjoyed the wonderful gift he had as an actor," he added.