Question: A town containing All Saints Church gave it's name to the terror attack allegedly linked to Gaddafi's Libya. When did that town's country colonize the country containing Mamitupo?

full_context: Document 1: Mamitupo: Mamitupo is a town in the indigenous province of Guna Yala in Panama. It is on an island off the coast.
Document 2: Trinity House of Leith: Trinity House, 99 Kirkgate, is a category A listed building in Leith, Edinburgh, Scotland, which was a guild hall, customs house, and centre for maritime administration and poor relief. In the Late Middle Ages and Early Modern Era it also served as an almshouse and hospital. Now in state care, it houses a maritime museum.
Document 3: All Saints Church, Lockerbie: All Saints Church is in Ashgrove Terrace, Lockerbie, Dumfries and Galloway, Scotland. It is a Category B listed building and an active Scottish Episcopal Church in the Diocese of Glasgow and Galloway.
Document 4: Muammar Gaddafi: Muammar Muhammad Abu Minyar al-Gaddafi (Arabic: معمر محمد أبو منيار القذافي‎ Arabic pronunciation: [muʕamar al.qaðaːfiː]; /ˈmoʊ.əmɑːr ɡəˈdɑːfi/;  audio (help·info); c. 1942 – 20 October 2011), commonly known as Colonel Gaddafi,[b] was a Libyan revolutionary, politician, and political theorist. He governed Libya as Revolutionary Chairman of the Libyan Arab Republic from 1969 to 1977 and then as the "Brotherly Leader" of the Great Socialist People's Libyan Arab Jamahiriya from 1977 to 2011. Initially ideologically committed to Arab nationalism and Arab socialism, he came to rule according to his own Third International Theory before embracing Pan-Africanism and serving as Chairperson of the African Union from 2009 to 2010.
Document 5: Church of Scotland: At the time of the 2001 census, the number of respondents who gave their religion as Church of Scotland was 2,146,251 which amounted to 42.4% of the population of Scotland.  In 2008 the Church of Scotland had around 995 active ministers, 1,118 congregations, and its official membership at 398,389 comprised about 7.5% of the population of Scotland. Official membership is down some 66.5% from its peak in 1957 of 1.32 million. In the 2011 national census, 32% of Scots identified their religion as "Church of Scotland", more than any other faith group, but falling behind the total of those without religion for the first time. However, by 2013 only 18% of Scots self-identified as Church of Scotland. The Church of Scotland Guild, the Kirk's historical women's movement and open to men and women since 1997, is still the largest voluntary organisation in Scotland.
Document 6: Narganá: Narganá or Yandup in the Kuna language is one of the islands belonging to the Kuna Yala, an autonomous territory or comarca in Panama. The culture in Nargana is influenced heavily by Panama and most people there are bilingual speaking both Spanish and the Kuna language. The island has an area of 19.9 hectares and is completely overbuilt, and could be walked around in less than 10 minutes. There is a small hospital and school on the island. The nearest populated island, Corazón de Jesús, is connected to Nargana by a concrete bridge. Both islands are among the most westernized of the San Blas Islands.
Document 7: Muammar Gaddafi: In 1977, Gaddafi dissolved the Republic and created a new socialist state, the Jamahiriya ("state of the masses"). Officially adopting a symbolic role in governance, he retained power as military commander-in-chief and head of the Revolutionary Committees responsible for policing and suppressing opponents. Overseeing unsuccessful border conflicts with Egypt and Chad, Gaddafi's support for foreign militants and alleged responsibility for the Lockerbie bombing led to Libya's label of "international pariah". A particularly hostile relationship developed with the United States and United Kingdom, resulting in the 1986 U.S. bombing of Libya and United Nations-imposed economic sanctions. Rejecting his earlier ideological commitments, from 1999 Gaddafi encouraged economic privatization and sought rapprochement with Western nations, also embracing Pan-Africanism and helping to establish the African Union. Amid the Arab Spring, in 2011 an anti-Gaddafist uprising led by the National Transitional Council (NTC) broke out, resulting in the Libyan Civil War. NATO intervened militarily on the side of the NTC, bringing about the government's downfall. Retreating to Sirte, Gaddafi was captured and killed by NTC militants.
Document 8: British Empire: The Caribbean initially provided England's most important and lucrative colonies, but not before several attempts at colonisation failed. An attempt to establish a colony in Guiana in 1604 lasted only two years, and failed in its main objective to find gold deposits. Colonies in St Lucia (1605) and Grenada (1609) also rapidly folded, but settlements were successfully established in St. Kitts (1624), Barbados (1627) and Nevis (1628). The colonies soon adopted the system of sugar plantations successfully used by the Portuguese in Brazil, which depended on slave labour, and—at first—Dutch ships, to sell the slaves and buy the sugar. To ensure that the increasingly healthy profits of this trade remained in English hands, Parliament decreed in 1651 that only English ships would be able to ply their trade in English colonies. This led to hostilities with the United Dutch Provinces—a series of Anglo-Dutch Wars—which would eventually strengthen England's position in the Americas at the expense of the Dutch. In 1655, England annexed the island of Jamaica from the Spanish, and in 1666 succeeded in colonising the Bahamas.
Document 9: Muammar Gaddafi: The Jamahiriya's radical direction earned the government many enemies. In February 1978, Gaddafi discovered that his head of military intelligence was plotting to kill him, and began to increasingly entrust security to his Qaddadfa tribe. Many who had seen their wealth and property confiscated turned against the administration, and a number of western-funded opposition groups were founded by exiles. Most prominent was the National Front for the Salvation of Libya (NFSL), founded in 1981 by Mohammed Magariaf, which orchestrated militant attacks against Libya's government, while another, al-Borkan, began killing Libyan diplomats abroad. Following Gaddafi's command to kill these "stray dogs", under Colonel Younis Bilgasim's leadership, the Revolutionary Committees set up overseas branches to suppress counter-revolutionary activity, assassinating various dissidents. Although nearby nations like Syria also used hit squads, Gaddafi was unusual in publicly bragging about his administration's use of them; in June 1980, he ordered all dissidents to return home or be "liquidated wherever you are."
Document 10: Metetí: Metetí is a town and corregimiento in Pinogana District, Darién Province, Panama with a population of 7,976 as of 2010. It was created by Law 58 of July 29, 1998, owing to the Declaration of Unconstitutionality of Law 1 of 1982. Its population as of 2000 was 6,244. It is the last major town on the Inter-American Highway before the highway ends at Yaviza. Most of the town's residents are originally from Chiriquí Province. The town has a bank with an ATM, a few restaurants and hotels, a police station, and a gas station.
Document 11: Cébaco: Cébaco island is located off the Pacific Coast of the Republic of Panama, in Montijo District, Veraguas Province. The island is located in the Gulf of Montijo and has a small town of approximately 30 homes on the northern coast of the island. Most locals live off commercial fishing and sell to the mainland.
Document 12: Muammar Gaddafi: In 1989, Gaddafi was overjoyed by the foundation of the Arab Maghreb Union, uniting Libya in an economic pact with Mauritania, Morocco, Tunisia and Algeria, viewing it as beginnings of a new Pan-Arab union. Meanwhile, Libya stepped up its support for anti-western militants such as the Provisional IRA, and in 1988, Pan Am Flight 103 was blown up over Lockerbie in Scotland, killing 243 passengers and 16 crew members, plus 11 people on the ground. British police investigations identified two Libyans – Abdelbaset al-Megrahi and Lamin Khalifah Fhimah – as the chief suspects, and in November 1991 issued a declaration demanding that Libya hand them over. When Gaddafi refused, citing the Montreal Convention, the United Nations (UN) imposed Resolution 748 in March 1992, initiating economic sanctions against Libya which had deep repercussions for the country's economy. The country suffered an estimated $900 million financial loss as a result. Further problems arose with the west when in January 1989, two Libyan warplanes were shot down by the U.S. off the Libyan coast. Many African states opposed the UN sanctions, with Mandela criticising them on a visit to Gaddafi in October 1997, when he praised Libya for its work in fighting apartheid and awarded Gaddafi the Order of Good Hope. They would only be suspended in 1998 when Libya agreed to allow the extradition of the suspects to the Scottish Court in the Netherlands, in a process overseen by Mandela.
Document 13: British Empire: In 1695, the Scottish Parliament granted a charter to the Company of Scotland, which established a settlement in 1698 on the isthmus of Panama. Besieged by neighbouring Spanish colonists of New Granada, and afflicted by malaria, the colony was abandoned two years later. The Darien scheme was a financial disaster for Scotland—a quarter of Scottish capital was lost in the enterprise—and ended Scottish hopes of establishing its own overseas empire. The episode also had major political consequences, persuading the governments of both England and Scotland of the merits of a union of countries, rather than just crowns. This occurred in 1707 with the Treaty of Union, establishing the Kingdom of Great Britain.
Document 14: British Isles: The Kingdoms of England and Scotland were unified in 1707 creating the Kingdom of Great Britain. Following an attempted republican revolution in Ireland in 1798, the Kingdoms of Ireland and Great Britain were unified in 1801, creating the United Kingdom. The Isle of Man and the Channel Islands remaining outside of the United Kingdom but with their ultimate good governance being the responsibility of the British Crown (effectively the British government). Although, the colonies of North American that would become the United States of America were lost by the start of the 19th century, the British Empire expanded rapidly elsewhere. A century later it would cover one third of the globe. Poverty in the United Kingdom remained desperate however and industrialisation in England led to terrible condition for the working class. Mass migrations following the Irish Famine and Highland Clearances resulted in the distribution of the islands' population and culture throughout the world and a rapid de-population of Ireland in the second-half of the 19th century. Most of Ireland seceded from the United Kingdom after the Irish War of Independence and the subsequent Anglo-Irish Treaty (1919–1922), with the six counties that formed Northern Ireland remaining as an autonomous region of the UK.
Document 15: St. Luke's and St. Margaret's Church: St. Luke's and St. Margaret's Church is a former parish of the Episcopal Diocese of Massachusetts in the Allston neighborhood of Boston. It was closed in 2010.
ground_truth: 1698
sub_queries: What terrorist bombing was Gaddafi's Libya supposedly involved in? Answer: Lockerbie
All Saints Church, Lockerbie >> located in the administrative territorial entity Answer: Scotland
Mamitupo >> country Answer: Panama
When was Panama colonized by #2 ? Answer: 1698