(CNN) Passengers from American Airlines Flight 2354 from Los Angeles to Dallas-Fort Worth were bracing for a long night.

Their plane was diverted to the regional airport in Wichita Falls, Texas, on Thursday due to severe thunderstorms that impacted the northern part of the state, and 159 frustrated passengers were facing the prospect of being stuck there until morning.

Trying to ease their inconvenience, the plane's captain, Jeff Raines, called the local Papa John's and ordered 40 fresh pizzas for delivery at Wichita Falls Municipal Airport (SPS).

A video of the act shows the captain running back and forth between the delivery car and the stranded passengers to personally deliver the pizzas. "I don't think I've seen this before," Josh Raines, who works at the airport and shot the video, tweeted.

@AmericanAir The Captain of Flight 2354 bought pizza for everybody who was stuck in Wichita Falls Regional airport after a weather diversion. I don't think I've seen this before. pic.twitter.com/sLmo76ckUB — Josh Raines (@J_reigns2) September 7, 2018

"What a guy, what a guy," people can be heard saying.

Read More