(CNN) US B-2 bombers struck and destroyed two ISIS camps in Libya overnight, with initial estimates that over 80 militants were killed, US officials told CNN Thursday.

The strikes were on external actors who were actively "plotting attacks in Europe," Secretary of Defense Ash Carter told reporters.

The mission was approved several days ago by President Barack Obama and is expected to be the last short-notice military operation ordered by him, according to sources.

"The fighters training in these camps posed a security risk to Libya, to its neighbors, to our allies in Africa and Europe, and to the United States," Pentagon spokesman Peter Cook told reporters. "While we are still evaluating the results of the strikes, the initial assessment indicates they were successful."

A US defense official said the militants were seen immediately beforehand carrying weapons, wearing tactical vests, holding mortars and standing in formation.

The Department of Defense showed reporters a rare video of surveillance footage of the ISIS fighters as they loaded what appeared to be shells and rocket-propelled grenades into pick-up trucks. A second video showing the camps being bombed was also shown.

The number killed was not released by the Pentagon, but the first estimate put the figure at over 80. There were no women or children in the area, the official said.

Cook described the camps as being in a "very rural area."

US surveillance aircraft had been watching the sites for weeks as fighters fled from Sirte on the coastline into what they perceived to be the safety of remote desert areas. But the isolation of the area gave those surveillance aircraft clear imagery showing military-aged males in several areas, according to officials.

The two camps that were destroyed were located about 28 miles southwest of Sirte, the Pentagon said.

Cook said the strike was carried out by two US Air Force B-2 Spirit bombers flying from Whiteman Air Force Base, Missouri, a 30-plus hour roundtrip mission, and that over 100 bombs and missiles were dropped on the targets. It was the first time the aircraft were used in an attack since 2011.

Photos: In the U.S. Air Force fleet B-52 Stratofortress – The first versions of this long-range heavy bomber flew in 1954. A total of 744 were built, the last of those in 1962. The Air Force maintains 58 B-52s in the active force and 18 in the Reserve. A single B-52 can carry 70,000 pounds of mixed munitions, including bombs, missiles and mines. The eight-engine jets have a range of 8,800 miles. Hide Caption 1 of 24 Photos: In the U.S. Air Force fleet C-130 Hercules transport – A C-130J Super Hercules from the 37th Airlift Squadron flies over Normandy, France, June 3, 2015. First delivered to the Air Force in 1956, the C-130 remains one of the service's most important airlift platforms. More than 140 are still in active units, with more than 180 in the National Guard and a hundred more in the Reserve. The C-130 is powered by four turboprop engines. Hide Caption 2 of 24 Photos: In the U.S. Air Force fleet AC-130 gunships – The AC-130H Spectre and the AC-130U Spooky gunships are designed for close air support, air interdiction and force protection. Armaments on the Spectre include 40mm and 105mm cannons. The Spooky adds a 25mm Gatling gun. Hide Caption 3 of 24 Photos: In the U.S. Air Force fleet F-22 Raptor – The twin-engine F-22 stealth fighter, flown by a single pilot and armed with a 20mm cannon, heat-seeking missiles, radar-guided missiles and radar-guided bombs, can perform both air-to-air and air-to-ground missions. The service has 183 of the Raptors, which went operational in 2005. Hide Caption 4 of 24 Photos: In the U.S. Air Force fleet The single-engine F-35A is the Air Force's eventual replacement for the F-16 and the A-10. The supersonic jets, which will be able to conduct air-to-air and air-to-ground attacks, are just beginning to enter the Air Force fleet. Here, an F-35 Lightning II from the 34th Fighter Squadron at Hill Air Force Base, Utah, flys at Royal Air Force Lakenheath, England, April 15, 2017. Hide Caption 5 of 24 Photos: In the U.S. Air Force fleet B-2 Spirit bomber – The four-engine B-2 heavy bomber has stealth properties that make it hard to detect on radar. Flown by a crew of two, it has an unrefueled range of 6,000 miles and can deliver both conventional and nuclear bombs. Twenty B-2s are in the active inventory. They joined the fleet in 1997. Hide Caption 6 of 24 Photos: In the U.S. Air Force fleet B-1B Lancer bomber – The four-engine jet can fly at 900 mph and carry the largest payload of bombs and missiles in the Air Force inventory. The Air Force has 62 B-1Bs in the fleet. Hide Caption 7 of 24 Photos: In the U.S. Air Force fleet F-15 Eagle – The F-15 Eagle, the Air Force's main air superiority fighter, became operational in 1975. With a crew of one or two, depending on the model, the twin-engine jets are armed with a 20mm cannon along with Sidewinder or AMRAAM missiles. The Air Force lists 249 F-15 Eagles in its inventory. Hide Caption 8 of 24 Photos: In the U.S. Air Force fleet F-15E Strike Eagle – The Strike Eagle is a version of the air superiority fighter adapted to perform ground-strike missions. With a crew of two, the twin-jet can carry and deploy most weapons in the Air Force inventory and operate in any weather. The F-15E was first delivered in 1988. The Air Force lists 219 in its fleet. Hide Caption 9 of 24 Photos: In the U.S. Air Force fleet A-10 Thunderbolt – The A-10 Thunderbolt jets, nicknamed "Warthogs," are specially designed for close air support of ground forces. Key to their armaments is a 30mm Gatling gun. The pilot is protected from ground fire by titanium armor, and the plane's fuel cells are self-sealing in case of puncture. Hide Caption 10 of 24 Photos: In the U.S. Air Force fleet RC-135U – The RC-135U Combat Sent, based at Offutt Air Force Base, Nebraska, provides strategic electronic reconnaissance information to the president, secretary of defense, Department of Defense leaders and theater commanders. Hide Caption 11 of 24 Photos: In the U.S. Air Force fleet An F-15 Eagle takes off from the Andersen Air Force Base, Guam, flight line as two E-3 Sentries are seen in the background. Hide Caption 12 of 24 Photos: In the U.S. Air Force fleet OV-10 Bronco – A 21st Tactical Air Support Squadron OV-10 Bronco aircraft fires white phosphorus rockets to mark a target for an air strike during tactical air control training. Hide Caption 13 of 24 Photos: In the U.S. Air Force fleet A-29 Super Tucano – An A-29 Super Tucano taxis on the flightline during its first arrival, Sept. 26, 2014, at Moody Air Force Base, Georgia. Afghan Air Force pilots trained on the planes that will be used in air-to-ground attack missions in Afghanistan. Hide Caption 14 of 24 Photos: In the U.S. Air Force fleet KC-135 Stratotanker – The four-engine KC-135 joined the Air Force fleet in 1956 as both a tanker and cargo jet. It can carry up to 200,000 pounds of fuel and 83,000 pounds of cargo and passengers in a deck above the refueling system. More than 400 of the KC-135s are flown by active, Air Guard and Reserve units. Hide Caption 15 of 24 Photos: In the U.S. Air Force fleet F-16 Fighting Falcon – The single-engine jet is a mainstay of the Air Force combat fleet. It can perform both air-to-air and air-to-ground missions with its 20mm cannon and ability to carry missiles and bombs on external pods. More than 1,000 F-16s are in the Air Force inventory. Hide Caption 16 of 24 Photos: In the U.S. Air Force fleet C-17 Globemaster transport – The four-engine jet joined the Air Force fleet in 1993 with a primary mission of troop and cargo transport. Each plane can carry up to 102 troops or 170,900 pounds of cargo. The Air Force has 187 C-17s on active duty, 12 in the Air National Guard and 14 in the Reserve. Hide Caption 17 of 24 Photos: In the U.S. Air Force fleet C-5 Galaxy transport – The C-5, with a wingspan of 222 feet, a length of 247 feet and a height of 65 feet, is the largest plane in the Air Force inventory and one of the largest aircraft in the world. The first versions of the four-engine jet joined the force in 1970. The Air Force expects to have 52 versions of the latest model, the C-5M, in the fleet by 2017. Hide Caption 18 of 24 Photos: In the U.S. Air Force fleet CV-22 Osprey – The Osprey is a tiltrotor aircraft that combines vertical takeoff, hover and landing qualities of a helicopter with the normal flight characteristics of a turboprop aircraft, according to the Air Force. It is used to move troops in and out of operations as well as resupply units in the field. The Air Force has 33 Ospreys in inventory. Hide Caption 19 of 24 Photos: In the U.S. Air Force fleet E-3 Sentry AWACS – AWACS stands for airborne warning and control system. This four-engine jet, based on a Boeing 707 platform, monitors and manages battle space with its huge rotating radar dome. The planes have a flight crew of four supporting 13 to 19 specialists and controllers giving direction to units around the battle space. The Air Force has 32 E-3s in inventory. Hide Caption 20 of 24 Photos: In the U.S. Air Force fleet KC-10 Extender – Based on the DC-10 passenger jet, the triple-engine KC-10 is a gas station in the sky with the ability to carry 75 people and 170,000 pounds of cargo. In its six tanks, the KC-10 can carry up to 356,000 pounds of fuel and dispense it while airborne. The Air Force has 59 KC-10s on active duty. Hide Caption 21 of 24 Photos: In the U.S. Air Force fleet T-38 Talon – The twin-engine jet trainer, used by the Air Force to prepare pilots for the F-15E Strike Eagle, F-15C Eagle, F-16 Fighting Falcon, B-1B Lancer, A-10 Thunderbolt and F-22 Raptor, first flew in 1959. Almost 550 are in the active force. Hide Caption 22 of 24 Photos: In the U.S. Air Force fleet U-2 – The single-engine, single-pilot U-2 is used for high-altitude reconnaissance and surveillance. Flying at altitudes around 70,000 feet, pilots must wear pressure suits like those worn by astronauts. The first U-2 was flown in 1955. The planes were used on missions over the Soviet Union during the Cold War, flying too high to be reached by any adversary. The Air Force has 33 U-2s in its active inventory. Hide Caption 23 of 24 Photos: In the U.S. Air Force fleet WC-135 Constant Phoenix – The four-engine WC-135 is used to fly through airspace to detect the residue of nuclear blasts. "The aircraft is equipped with external flow-through devices to collect particulates on filter paper and a compressor system for whole air samples collected in holding spheres," the Air Force says. It has two of these jets in the active force. Hide Caption 24 of 24

In addition to the B-2 bombers, unmanned aircraft also took part in the strikes, the defense official said.

Initially, the rudimentary camps had moved and surveillance had to be conducted again before the strike.

The B-2s heavy bombers flying from the US were planning to bomb four camps, according to early reports. Some of the sites may have been empty, with fighters having moved again. US Navy warships equipped with Tomahawk cruise missiles were also on standby, but initial reports indicate they were not needed.

The President's approval of the strike underscores in the closing hours of his administration the difficulty of targeting ISIS fighters in dozens of countries around the world. Obama has increasingly relied on armed drones, bombers and special forces on the ground to go after these types of targets in Syria and Iraq.

"We are committed to maintaining pressure on ISIL and preventing them from establishing safe haven," Cook said in a statement released earlier, using another acronym for ISIS, also known as the Islamic State. "These strikes will degrade ISIL's ability to stage attacks against Libyan forces and civilians working to stabilize Sirte, and demonstrate our resolve in countering the threat posed by ISIL to Libya, the United States and our allies."

Helping Libya's recovering oil sector was also a likely factor in the US decision to target the training camps, according to Geoff Porter, president of North Africa Risk Consulting.

"Since the defeat of the Islamic State in Sirte, Libyan oil production has increased from roughly 500,000 to 750,000 barrels per day. This is largely due to the inability of the Islamic State to threaten upstream, midstream and downstream oil infrastructure in the Sirte Basin," Porter told CNN. "Targeting Islamic State training camps in the Sirte Basin consolidates the oil production gains made in the last two months and reduces the risk that they will be targeted by the Islamic State again in the future."

Porter says the stakes could not be higher. "Without oil production, Libya has no revenue. The only thing that could possibly save the struggling Government of National Accord is being able to restore the provision of social services. If oil flows, then the GNA has funds. If the GNA has funds, it can spend some of that money on electricity, gas, fuel, water, and can bolster the currency to reduce inflation."