Story highlights The Delta flight had 130 people aboard

The National Transportation Safety Board is investigating

(CNN) A Delta flight mistakenly landed at an air force base in South Dakota -- instead of the intended airport 10 miles way.

Delta Flight 2845 left Minneapolis for South Dakota on Thursday evening with 130 people aboard.

The Airbus A320 was scheduled to touch down at Rapid City Regional Airport, but landed instead at Ellsworth Air Force Base, Delta said in a statement.

JUST WATCHED Joke delays plane landing Replay More Videos ... MUST WATCH Joke delays plane landing 01:00

The airport and the air force base are just a few miles apart, and their runways point in nearly the same direction.

A few hours later, after coordinating with officials, the flight took off for Rapid City the same night.