PHOENIX — A fighter jet operated by a military contractor crashed outside Phoenix on Thursday, but the pilot ejected safely and no one on the ground was hurt, a spokesman for the contractor and U.S. Air Force officials said.

The French-made Mirage F1 crashed near Buckeye, a growing community about 30 miles (48 kilometers) west of Phoenix.

John Rupp, director of foreign military sales for Airborne Tactical Advantage Co., confirmed it was one of his company's jets that went down. The pilot was taken to a hospital and treated for minor injuries, he said.

"The pilot is safe and doing well," Rupp told The Associated Press.

UKRAINE, RUSSIA STANDOFF: ARIZONA AIR FORCE BASE COULD DEPLOY US TROOPS IF MOSCOW LAUNCHES ATTACK

The plane was destroyed. The company said it will work with investigators to determine the cause of the crash.

Luke Air Force Base, home of the 56th Fighter Wing, is seen in Arizona, Feb. 26, 2021.  (Getty Images)

Officials at Luke Air Force Base in nearby Glendale later confirmed the crash and said it occurred late Thursday morning about 15 miles (24 kilometers) west of the base in an unpopulated area. The plane had been operating out of Luke, the Air Force's main base for training F-35 fighter pilots.

The Air Force sent crews from the base fire department, explosives ordnance specialists and police to secure the site. The Buckeye Fire Department was also on scene.

ARIZONA OFFICER SHOT AND AIRLIFTED TO HOSPITAL, MANHUNT UNDERWAY FOR SUSPECT: SHERIFF

Brig. Gen. Gregory Kreuder, commander of the base's 56th Fighter Wing, said in a statement that the base is committed to safety.

Luke Air Force Base, home of the 56th Fighter Wing, is seen in Arizona, Feb. 26, 2021.  (Getty Images)

"We are thankful for the continued outstanding support Luke receives from our community partners, especially during difficult situations like this," Kreuder said. "Finally, I’m grateful nobody was hurt on the ground, and the pilot was safely recovered with only minor injuries."

Airborne Tactical Advantage is one of a growing number of contractors that fly aircraft to help train military aviators. The company provides aggressor aircraft to help military fighter pilots learn their trade as well as other services to the military.

ARIZONA GOVERNOR SUES BIDEN ADMIN OVER FEDERAL MONEY FOR SCHOOLS WITH MASK MANDATES

Another Mirage F1 operated by a different contractor crashed in Las Vegas last year as the pilot came in to land at nearby Nellis Air Force Base. The pilot — Nicholas Hunter Hamilton, 43, of Las Vegas — died.

A Dassault Mirage F1 flies overhead at the 1991 Paris Air Show. The international aeronautics fair is held every other year in Le Bourget, France. (Getty Images)

The May 24 crash happened after Hamilton had an inflight emergency, and the plane crashed into a neighborhood, bursting into flames. Hamilton ejected shortly before the plane hit the ground.

Hamilton, a retired U.S. Air Force pilot, was working for military contractor Draken International.

CLICK HERE TO GET THE FOX NEWS APP 

Another crash of a military contractor aircraft happened in 2015 in southern Arizona, killing Marine Lance Cpl. Anthony T. DuBeau. The 23-year-old from Kenosha, Wisconsin, was in a pickup truck providing safety oversight for a construction crew working alongside the runway at Marine Corps Air Station-Yuma.

A National Transportation Safety Board report said the pilot of the BAE Systems Hawk jet took off at too low a speed on March 11, 2015. The British-built jet flying on a mission for the Air Force wobbled, veered off the left side of the base runway and eventually hit the pickup.