Question: What century did Dubhgall mac Suibhne controlled the Lochranza Castle?

Context paragraphs:
Sweeney (name): Sweeney is a surname that, though closely associated with Ireland, is of Scottish origin, derived from the Gaelic "Mac Suibhne" meaning "son of "Suibhne"".  The Gaelic personal name "Suibhne" was originally a byname meaning "pleasant" or "well-disposed".  The Gaelic personal name was also used an equivalent to the unrelated Old Norse personal name "Sveinn", meaning "boy", "servant".

Murchadh Mac Suibhne: Murchadh Mac Suibhne (died 1267) was a prominent 13th-century noble.  Murchadh was a son of Maol Mhuire an Sparáin, son of Suibhne, eponymous ancestor of the Clann Suibhne.  Murchadh led the dispossessed clan pressed into King Hakon IV of Norway's service during King Hakon's 1263 expedition.  Clann Suibhne were required to surrender hostages to King Hakon as guarantee for their support.  Murchadh was granted Arran, however these lands were lost shortly after the Battle of Largs and he appears to have fled to Ireland.  He was taken prisoner by Domnall Mac Maghnusa in 1265 and was imprisoned by Walter de Burgh, Earl of Ulster and died shortly afterwards.

Dubhghall mac Suibhne: Dubhghall mac Suibhne was a prominent 13th-century noble.  He was a son of Suibhne and was Lord of Knapdale.  He held lands in Knapdale and in Kintyre.  In 1262, he lost his lordship and lands to Walter Stewart, Earl of Menteith after Alexander III of Scotland granted Skipinnish, Killislate amongst other lands in Knapdale and the parish of Kilcalmonell in Kintyre.  The Earl of Menteith also obtained Skipness Castle, Castle Sween and Lochranza Castle formerly controlled by Dubhghall.

McSweeney: McSweeney Is a surname of Irish origin.  It is the Anglicized form of the Irish "Mac Suibhne", meaning "son of "Suibhne"".  The personal name "Suibhne" is derived from "suibneus", "suaimhneas", meaning "easy-going", "pleasant".  Notable people with the surname include:

Suibhne mac Duinnshléibhe: Suibhne mac Duinnshléibhe was a late 12th-century, and early 13th-century, lord in Argyll.  He does not appear in contemporary records, although his name appears in the patronymic names of two of his sons.  Suibhne appears in the 16th century "Leabhar Chlainne Suibhne", which documents the early history of Clann Suibhne.  This account claims that he is the ancestor of Irish clan, and that he was the builder of Castle Sween in Knapdale, Argyll.  Suibhne is said to be identical to the "Swineruo", or "Suibhne Ruadh" ("Suibhne the Red"), recorded in the "Ane Accompt of the Genealogie of the Campbells", a 17th-century Clan Campbell genealogy.

Artúr Dall Mac Gurcaigh: Artúr Dall Mac Gurcaigh was a Scottish poet.  He was the author of "Dál chabhlaigh ar Chaistéal Suibhne" ("An arranging of a fleet against Castle Sween"), written c. 1310 during the Wars of Scottish Independence.  The poem is one of the few Scottish vernacular poems before the mid-14th century, and tells of Eoin mac Suibhne, enemy of King Robert I of Scotland, and head of "Clann Suibhne" (the MacSweens) - a clan who would be expelled from Scotland and flourish as a mercenary clan in Ireland.

Domnall na Madhmann Mac Suibhne: Domnall na Madhmann Mac Suibhne, Gallowglass, ancestor of the Mac Suibhne of north Connacht, Maghery Connacht, Clanricarde and Thomond, fl.  1419.

Buile Shuibhne: Buile Shuibhne or Buile Suibhne ([ˈbˠilʲə ˈhivʲnʲə] , The Madness of Suibhne or Suibhne's Frenzy) is an old Irish tale about the Suibhne mac Colmain, king of the Dál nAraidi, driven insane by St. Ronan's curse.  The insanity makes Suibhne leave the Battle of Mag Rath, enter a life of wandering (which earns him the nickname Suibne Geilt or "Mad Sweeney"), until he dies under the refuge of St. Moling.

Mac Suibhne: The Gaelic surname Mac Suibhne is a patronymic form of "Suibhne" and means "son of "Suibhne"".  The personal name "Suibhne" means "pleasant".

Lochranza Castle: Lochranza Castle is an L-plan tower house situated on a promontory in Lochranza, on the north of the Isle of Arran in Scotland.  Most of the castle was built in the 16th century.

Supporting paragraphs: Dubhghall mac Suibhne Lochranza Castle
Answer: 16th century