paragraph_text: 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.

paragraph_text: Now with NATO support in the form of air cover, the rebel militia pushed westward, defeating loyalist armies and securing control of the centre of the country. Gaining the support of Amazigh (Berber) communities of the Nafusa Mountains, who had long been persecuted as non-Arabic speakers under Gaddafi, the NTC armies surrounded Gaddafi loyalists in several key areas of western Libya. In August, the rebels seized Zliten and Tripoli, ending the last vestiges of Gaddafist power. On 25 August, the Arab League recognised the NTC to be "the legitimate representative of the Libyan state", on which basis Libya would resume its membership in the League.

paragraph_text: Gaddafi sought to develop closer links in the Maghreb; in January 1974 Libya and Tunisia announced a political union, the Arab Islamic Republic. Although advocated by Gaddafi and Tunisian President Habib Bourguiba, the move was deeply unpopular in Tunisia and soon abandoned. Retaliating, Gaddafi sponsored anti-government militants in Tunisia into the 1980s. Turning his attention to Algeria, in 1975 Libya signed the Hassi Messaoud defence agreement allegedly to counter "Moroccan expansionism", also funding the Polisario Front of Western Sahara in their independence struggle against Morocco. Seeking to diversify Libya's economy, Gaddafi's government began purchasing shares in major European corporations like Fiat as well as buying real estate in Malta and Italy, which would become a valuable source of income during the 1980s oil slump.

paragraph_text: Bani Walid or Ben Walid, prior to 2007, was one of the districts of Libya, administrative town Bani Walid. In the 2007 administrative reorganization the territory formerly in Bani Walid District was transferred to Misrata District.

paragraph_text: Ghadames or Ghadamis (Arabic: غدامس, Libyan vernacular: ġdāməs) was a district of Libya until 2007. Its territory is now part of Nalut District. It was in the northwest of the country with its capital at Ghadames.

paragraph_text: From childhood, Gaddafi was aware of the involvement of European colonialists in Libya; his nation was occupied by Italy, and during the North African Campaign of World War II it witnessed conflict between Italian and British troops. According to later claims, Gaddafi's paternal grandfather, Abdessalam Bouminyar, was killed by the Italian Army during the Italian invasion of 1911. At World War II's end in 1945, Libya was occupied by British and French forces. Although Britain and France intended on dividing the nation between their empires, the General Assembly of the United Nations (UN) declared that the country be granted political independence. In 1951, the UN created the United Kingdom of Libya, a federal state under the leadership of a pro-western monarch, Idris, who banned political parties and established an absolute monarchy.

paragraph_text: 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."

paragraph_text: The Islamic Museum of Tripoli is a proposed museum of Islamic culture that was built under the support and patronage of Saif al-Islam Gaddafi in Tripoli, Libya.

paragraph_text: Mamitupo is a town in the indigenous province of Guna Yala in Panama. It is on an island off the coast.

paragraph_text: Bogotá (/ ˈboʊɡətɑː /, / ˌbɒɡəˈtɑː /, / ˌboʊ - /; Spanish pronunciation: (boɣoˈta) (listen)), officially Bogotá, Distrito Capital, abbreviated Bogotá, D.C., and formerly known as Santafé de Bogotá between 1991 and 2000, is the capital and largest city of Colombia, administered as the Capital District, although often thought of as part of Cundinamarca. Bogotá is a territorial entity of the first order, with the same administrative status as the departments of Colombia. It is the political, economic, administrative, industrial, artistic, cultural, and sports center of the country.

paragraph_text: 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.

paragraph_text: Libya (; ; ), officially the State of Libya, is a country in the Maghreb region in North Africa, bordered by the Mediterranean Sea to the north, Egypt to the east, Sudan to the southeast, Chad to the south, Niger to the southwest, Algeria to the west, and Tunisia to the northwest. The sovereign state is made of three historical regions: Tripolitania, Fezzan and Cyrenaica. With an area of almost , Libya is the fourth largest country in Africa, and is the 16th largest country in the world. Libya has the 10th-largest proven oil reserves of any country in the world. The largest city and capital, Tripoli, is located in western Libya and contains over one million of Libya's six million people. The second-largest city is Benghazi, which is located in eastern Libya.

paragraph_text: 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.

paragraph_text: 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.

paragraph_text: After the U.S. accused Libya of orchestrating the 1986 Berlin discotheque bombing, in which two American soldiers died, Reagan decided to retaliate militarily. The Central Intelligence Agency were critical of the move, believing that Syria were a greater threat and that an attack would strengthen Gaddafi's reputation; however Libya was recognised as a "soft target." Reagan was supported by the U.K. but opposed by other European allies, who argued that it would contravene international law. In Operation El Dorado Canyon, orchestrated on 15 April 1986, U.S. military planes launched a series of air-strikes on Libya, bombing military installations in various parts of the country, killing around 100 Libyans, including several civilians. One of the targets had been Gaddafi's home. Himself unharmed, two of Gaddafi's sons were injured, and he claimed that his four-year-old adopted daughter Hanna was killed, although her existence has since been questioned.  In the immediate aftermath, Gaddafi retreated to the desert to meditate, while there were sporadic clashes between Gaddafists and army officers who wanted to overthrow the government. Although the U.S. was condemned internationally, Reagan received a popularity boost at home. Publicly lambasting U.S. imperialism, Gaddafi's reputation as an anti-imperialist was strengthened both domestically and across the Arab world, and in June 1986, he ordered the names of the month to be changed in Libya.

paragraph_text: Gaddafi was the first consultant to the Management Committee of the General National Maritime Transport Company (GNMTC) of Libya. He was appointed to this position in 2007, upon earning his MBA degree in Shipping Economics and Logistics from Copenhagen Business School.Gaddafi is married to Aline Skaf, a Lebanese Christian former lingerie model, with whom he has three children. Another child, Carthage Hannibal (b. 2 August 2008), was killed in the bombing raid of the family compound on 30 April 2011

paragraph_text: In 1979, the U.S. placed Libya on its list of "State Sponsors of Terrorism", while at the end of the year a demonstration torched the U.S. embassy in Tripoli in solidarity with the perpetrators of the Iran hostage crisis. The following year, Libyan fighters began intercepting U.S. fighter jets flying over the Mediterranean, signalling the collapse of relations between the two countries. Libyan relations with Lebanon and Shi'ite communities across the world also deteriorated due to the August 1978 disappearance of imam Musa al-Sadr when visiting Libya; the Lebanese accused Gaddafi of having him killed or imprisoned, a charge he denied. Relations with Syria improved, as Gaddafi and Syrian President Hafez al-Assad shared an enmity with Israel and Egypt's Sadat. In 1980, they proposed a political union, with Libya paying off Syria's £1 billion debt to the Soviet Union; although pressures led Assad to pull out, they remained allies. Another key ally was Uganda, and in 1979, Gaddafi sent 2,500 troops into Uganda to defend the regime of President Idi Amin from Tanzanian invaders. The mission failed; 400 Libyans were killed and they were forced to retreat. Gaddafi later came to regret his alliance with Amin, openly criticising him.

paragraph_text: Ahmed Santos (born Hilarion del Rosario Santos III) is a Filipino who converted to Islam while working in Riyadh, Saudi Arabia in 1991. Santos was captured by Military officials for being involved in organizing and planning terrorist activities, including preparation of bombs. He is the founder of the Rajah Solaiman Movement.

paragraph_text: On 16 April 1973, Gaddafi proclaimed the start of a "Popular Revolution" in a Zuwarah speech. He initiated this with a 5-point plan, the first point of which dissolved all existing laws, to be replaced by revolutionary enactments. The second point proclaimed that all opponents of the revolution had to be removed, while the third initiated an administrative revolution that Gaddafi proclaimed would remove all traces of bureaucracy and the bourgeoisie. The fourth point announced that the population must form People's Committees and be armed to defend the revolution, while the fifth proclaimed the beginning of a cultural revolution to expunge Libya of "poisonous" foreign influences. He began to lecture on this new phase of the revolution in Libya, Egypt, and France.

paragraph_text: The early and mid-1980s saw economic trouble for Libya; from 1982 to 1986, the country's annual oil revenues dropped from $21 billion to $5.4 billion. Focusing on irrigation projects, 1983 saw construction start on "Gaddafi's Pet Project", the Great Man-Made River; although designed to be finished by the end of the decade, it remained incomplete at the start of the 21st century. Military spending increased, while other administrative budgets were cut back. Libya had long supported the FROLINAT militia in neighbouring Chad, and in December 1980, re-invaded Chad at the request of the Frolinat-controlled GUNT government to aid in the civil war; in January 1981, Gaddafi suggested a political merger. The Organisation of African Unity (OAU) rejected this, and called for a Libyan withdrawal, which came about in November 1981. The civil war resumed, and so Libya sent troops back in, clashing with French forces who supported the southern Chadian forces. Many African nations had tired of Libya's policies of interference in foreign affairs; by 1980, nine African states had cut off diplomatic relations with Libya, while in 1982 the OAU cancelled its scheduled conference in Tripoli in order to prevent Gaddafi gaining chairmanship. Proposing political unity with Morocco, in August 1984, Gaddafi and Moroccan monarch Hassan II signed the Oujda Treaty, forming the Arab-African Union; such a union was considered surprising due to the strong political differences and longstanding enmity that existed between the two governments. Relations remained strained, particularly due to Morocco's friendly relations with the U.S. and Israel; in August 1986, Hassan abolished the union. Domestic threats continued to plague Gaddafi; in May 1984, his Bab al-Azizia home was unsuccessfully attacked by a joint NFSL–Muslim Brotherhood militia, and in the aftermath 5000 dissidents were arrested.

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?
Answer: 1698