Air Force Thunderbirds
U.S. Air Force Thunderbirds sit on the tarmac at Peterson Air Force Base in Colorado Springs, Colorado, June 2, 2016. REUTERS/Kevin Lamarque

Two fighter jets from elite U.S. military demonstration squadrons crashed in separate incidents on Thursday, including one that had just done a flyover of the Air Force Academy graduation in Colorado where President Barack Obama had spoken.

In Tennessee, one person was killed when an F/A-18 jet from the Navy's Blue Angels squadron crashed in Smyrna, about 24 miles southeast of Nashville, local media reported.

The Navy later said the fatality was the pilot, according to the Nashville Tennessean, and no civilians were injured. The cause of the crash was not immediately known. The crash occurred while the Blue Angels were practicing for a weekend air show, local media said.

In Colorado, a pilot with the Air Force's Thunderbirds squadron was unhurt when his F-16 jet crashed in a field 5 miles south of Peterson Air Force Base, the Air Force said.

The pilot, whose name was not released, ejected safely and was picked up by emergency response crews, the Air Force said.

After leaving the Air Force Academy graduation ceremony, Obama visited the Thunderbird pilot at Peterson AFB to thank him for his service and express relief he had not been seriously hurt, White House spokesman Josh Earnest said.

Earnest said the pilot was up and walking around when the president saw him. The president also thanked the emergency responders who picked up the pilot, Earnest said.

The cause of the crash was not immediately known and the Air Force said it would undertake an investigation. The Air Force's Air Combat Command said on Twitter that no one was hurt on the ground and there was no hazard to the public.