Question: When was the country that holds Sortová colonized by the nation that houses All Saints Church, in the city supposedly bombed by Gaddafi's Libya?

full_context: Document 1: 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 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: Sortová: Sortová is a corregimiento in Bugaba District, Chiriquí Province, Panama. It has a land area of and had a population of 2,440 as of 2010, giving it a population density of . Its population as of 1990 was 2,064; its population as of 2000 was 2,183.
Document 4: 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 5: United Kingdom: Prior to the creation of the UK, Wales had been conquered and annexed by the Kingdom of England. This meant that the United Kingdom created in 1707 by the Treaty of Union between England and Scotland encompassed all of Great Britain. The Kingdom of Ireland merged with this state in 1801 to form the United Kingdom of Great Britain and Ireland. Five - sixths of Ireland seceded from the UK in 1922, leaving the present formulation of the United Kingdom of Great Britain and Northern Ireland. There are fourteen British Overseas Territories, the remnants of the British Empire which, at its height in the 1920s, encompassed almost a quarter of the world's land mass and was the largest empire in history. British influence can be observed in the language, culture and legal systems of many of its former colonies.
Document 6: 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 7: 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.
Document 8: 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 9: 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 10: Divalá: Divalá is a corregimiento in Alanje District, Chiriquí Province, Panama. It has a land area of and had a population of 3,457 as of 2010, giving it a population density of . Its population as of 1990 was 5,673; its population as of 2000 was 6,256.
Document 11: 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 12: 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 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: 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 15: Sabanitas: Sabanitas is a corregimiento in Colón District, Colón Province, Panama with a population of 19,052 as of 2010. Its population as of 1990 was 13,729; its population as of 2000 was 17,073.
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
Sortová >> country Answer: Panama
When was Panama colonized by #2 ? Answer: 1698