WATCH: NASA launches planetary-defense mission from California's Vandenberg Space Force Base

All eyes were on Santa Barbara County as SpaceX launched NASA's planetary-defense mission from the Vandenberg Space Force Base.

The mission, Double Asteroid Redirection Test (DART), launched late Tuesday night from the California's space force base. According to SpaceX's website, DART is humanity's first planetary defense test mission, which will determine if crashing a spacecraft into an asteroid is an effective way to change its course. If it does change courses, this defense mission could help stop other asteroids from threatening Earth.

You can click here for more information on DART.

Get your top stories delivered daily! Sign up for FOX 11’s Fast 5 newsletter. And, get breaking news alerts in the FOX 11 News app. Download for iOS or Android.

Air and SpaceNASASpace XCalifornia