Due to heavy rain, some flights were delayed at Hartsfield-Jackson Atlanta International Airport (Delta's home base) on Tuesday afternoon, but one pilot and his crew tried to rectify the situation . . . with lots of pizza.

A 2 p.m. Delta flight from Philadelphia to Atlanta was diverted to Knoxville, Tennessee, because of the storms in Atlanta.

"We circled in the air for a while (and) then the captain said we were diverting to Knoxville because of storms over the airport in Atlanta," passenger Khoury Ashooh told The Daily Mail.

To pass the time, the pilot ordered a bunch of pizzas to the plane to feed the passengers while they waited for the bad weather to pass.

A baggage cart packed with Pizza Hut boxes drove up to the jet, and flight attendants helped hand out slices to passengers. 

The doughy goodness worked to satisfy the travelers, and some took to social media to brag about their special treatment.

"We are sitting on a runway stuck on a @Delta flight because of weather," tweeted @RileyVasquez. "So they're throwing us a pizza party!"

"Delta continues with class," tweeted @BillyTheKidWitt. "Stuck due to weather and the crew ordered everyone pizza. #deltaairlines."

The two-hour flight from Philly to Atlanta landed three hours late, at 7 p.m.

Turns out that the Atlanta-bound flight wasn't the only one to have a smorgasbord; other flights enjoyed similar feasts.

"It's part of an effort company-wide when weather disrupts our operation to get food and beverages to delayed customers," Delta spokesman Morgan Durrant said.