In the Netherlands, a Scottish court convicts Libyan Abdelbaset al-Megrahi and acquits another Libyan citizen for their part in the bombing of Pan Am Flight 103 over Lockerbie, Scotland in 1988.

Pan Am Flight 103 was a regularly scheduled Pan Am transatlantic flight from Frankfurt to Detroit via a stopover in London and another in New York City. The transatlantic leg of the route was operated by Clipper Maid of the Seas, a Boeing 747-121 registered N739PA. Shortly after 19:00 on 21 December 1988, while the aircraft was in flight over the Scottish town of Lockerbie, it was destroyed by a bomb that had been planted on board, killing all 243 passengers and 16 crew in what became known as the Lockerbie bombing. Large sections of the aircraft crashed in a residential street in Lockerbie, killing 11 residents. With a total of 270 fatalities, it is the deadliest terrorist attack in the history of the United Kingdom.Following a three-year joint investigation by Dumfries and Galloway Constabulary and the US Federal Bureau of Investigation (FBI), arrest warrants were issued for two Libyan nationals in November 1991. In 1999, Libyan leader Muammar Gaddafi handed over the two men for trial at Camp Zeist, the Netherlands, after protracted negotiations and UN sanctions. In 2001, Abdelbaset al-Megrahi, a Libyan intelligence officer, was jailed for life after being found guilty of 270 counts of murder in connection with the bombing. In August 2009, he was released by the Scottish government on compassionate grounds after being diagnosed with prostate cancer. He died in May 2012 as the only person to be convicted for the attack.

In 2003, Gaddafi accepted responsibility for the Lockerbie bombing and paid compensation to the families of the victims, although he maintained that he had never given the order for the attack. Acceptance of responsibility was part of a series of requirements laid out by a UN resolution for sanctions against Libya to be lifted. Libya said it had to accept responsibility due to Megrahi's status as a government employee.During the First Libyan Civil War in 2011, former Minister of Justice Mustafa Abdul Jalil claimed that the Libyan leader had personally ordered the bombing, though this was later denied, while investigators have long believed that Megrahi did not act alone, and have been reported as questioning retired Stasi agents about a possible role in the attack.

Some relatives of the dead, including Lockerbie campaigner Jim Swire, believe the bomb was planted at Heathrow Airport, and not sent via feeder flights from Malta, as the US and UK claim. A sleeper cell belonging to the Popular Front for the Liberation of Palestine (General Command) had been operating in West Germany in the months before the Pan Am bombing.On the 32nd anniversary of the bombing, 21 December 2020, Abu Agila Mohammad Masud was charged in the US for having built the bomb that destroyed the aircraft and acting as a co-conspirator.

Libya ( (listen); Arabic: ليبيا, romanized: Lībiyā), officially the State of Libya (Arabic: دولة ليبيا, romanized: Dawlat Lībiyā), is a country in the Maghreb region in North Africa. It is 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. Libya is made of three historical regions: Tripolitania, Fezzan, and Cyrenaica. With an area of almost 700,000 square miles (1.8 million km2), it is the fourth-largest country in Africa and the Arab world, and the 16th-largest in the world. Libya has the 10th-largest proven oil reserves in the world. The largest city and capital, Tripoli, is located in western Libya and contains over three million of Libya's seven million people.Libya has been inhabited by Berbers since the late Bronze Age as descendants from Iberomaurusian and Capsian cultures. In ancient times the Phoenicians established city-states and trading posts in western Libya while more recently the Ottoman Empire controlled the northern coastline of Libya. Parts of Libya were variously ruled by Carthaginians, Persians, Egyptians and Macedonians before the entire region becoming a part of the Roman Empire. Libya was an early center of Christianity. After the fall of the Western Roman Empire, the area of Libya was mostly occupied by the Vandals until the 7th century when invasions brought Islam to the region. In the 16th century, the Spanish Empire and the Knights of St John occupied Tripoli until Ottoman rule began in 1551. Libya was involved in the Barbary Wars of the 18th and 19th centuries. Ottoman rule continued until the Italo-Turkish War which resulted in the Italian occupation of Libya and the establishment of two colonies, Italian Tripolitania and Italian Cyrenaica (1911–1934), later unified in the Italian Libya colony from 1934 to 1947.

During the Second World War, Libya was an area of warfare in the North African Campaign. The Italian population then went into decline. Libya became independent as a kingdom in 1951. A bloodless military coup in 1969, initiated by a coalition led by Colonel Muammar Gaddafi, overthrew King Idris I and created a republic. Gaddafi was often described by critics as a dictator, and was one of the world's longest serving non-royal leaders, ruling for 42 years. He ruled until being overthrown and killed in the 2011 Libyan Civil War, with authority transferred to the General National Congress. By 2014 two rival authorities claimed to govern Libya, destabilizing the country and leading to a second civil war, with parts of Libya split between the Tobruk and Tripoli-based governments as well as various tribal and Islamist militias. The two main warring sides signed a permanent ceasefire on 23 October 2020 and a unity government took authority.Libya is a member of the United Nations, the Non-Aligned Movement, the African Union, the Arab League, the OIC and OPEC. The country's official religion is Islam, with 96.6% of the Libyan population being Sunni Muslims.