Conservation work for Barra's Kisimul Castle
A historic clan stronghold in the Western Isles is to undergo conservation and archaeological work.
Barra's Kisimul Castle dates from the 15th Century and was built on a rock in a bay as a Macneil power base.
Members of Clan Macneil and Historic Scotland have raised £200,000 for the planned work.
Historic Scotland, which looks after the property, hopes that archaeologists will uncover new clues to castle life in the Middle Ages.
Any new evidence would help to fill large gaps in knowledge about Kisimul.
A fire in the 1700s is believed to have destroyed all written historical records about the fortification.
Its location on a rock in the sea also meant medieval chroniclers were unable to visit the castle to document it.
Historic Scotland took over responsibility for managing and conserving Kisimul in 2000.
At the time the government agency signed a 999-year lease from Ian Roderick Macneil, 46th Clan Chief, for £1 and an annual rent of a bottle of Talisker whisky.
Rory Macneil, the latest clan chief, has welcomed the new investment in the castle.
He said: "I would like to express my gratitude to clans people whose contributions to the Kisimul Castle restoration fund can now be put to good use, and to Historic Scotland for its stewardship of the castle over the past 13 years."
Ian Walford, chief executive of Historic Scotland, described Kisimul as a "true icon of the Western Isles".
He said: "There are few castles of this nature in Scotland, sitting proud in the island's main harbour and for most visitors it is their first experience of Barra's historic environment.
"We are delighted to be launching this plan.
"Working in partnership with Macneil of Barra, this plan will conserve and enhance a truly magical site in a spectacular Scottish setting for future generations to come."
Western Isles MSP Alasdair Allan, MP Angus MacNeil and Barra councillor Donald Manford have praised the latest effort to conserve the castle.
Kisimul was a symbol of Gaelic power in the Middle Ages.
Its Gaelic name, Caisteal Chiosmuil, means castle of the rock of the small bay in English.
The chiefs of the Macneils of Barra claimed descent from legendary Niall of the Nine Hostages.
Niall was a 5th Century Irish warlord reputed to have fought against the Romans and armies of ancient Scotland, England and France.
The nine hostages are said to have been men seized during his campaigns abroad and were symbols of his power.
According to recent scientific research, Niall has up to three million living descendants who are spread out across Ireland, Scotland and North America.
Kisimul is thought to have been constructed on the orders of Gilleonan Macneil. Below the castle he had a house built for the crew of his personal galley.
Another Macneil, known as Ruari The Turbulent, was arrested for piracy of an English ship during King James VI's reign in the 16th Century.