A second man has died after contracting Legionnaires' disease in the outbreak in Edinburgh, NHS Lothian has said.

The man, believed to be in his 40s, was already suffering from significant underlying health problems, died at Edinburgh Royal Infirmary.

The identity of the man, from the Gorgie area of Edinburgh, has not been disclosed at the request of his family.

The first victim of the disease in the recent outbreak was Robert Air, 56, whose death was reported on 5 June. He had contracted the disease after working on a building site in Gorgie.

There are now 41 confirmed cases of Legionnaires' in Edinburgh, with 48 more suspected cases.

Health Secretary Nicola Sturgeon believes the worst of the outbreak is over, while the Health and Safety Executive and Edinburgh City Council continue to investigate the possible source of the outbreak in the southwest area of the capital.

Sturgeon expressed her condolences to the family and friends of victim, saying: "My thoughts are with them at this very difficult time."

"Despite this sad and tragic development, it remains the case that we believe the outbreak to have peaked. However, we continue to monitor the situation carefully."

Dr Duncan McCormick, chair of the NHS Lothian incident management team, said: "Whilst we realised that further deaths were a possibility this additional death is extremely sad and I would like to express my sincere condolences to the family of the patient."

This is now the worst outbreak of Legionnaires' since 2002, when 180 cases were reported in Barrow-in-Furness and seven people died.

The condition is not contagious and cannot be spread directly by personal contact.