A TSA agent brought smiles to the security line after he showed off his dance moves and competition skills with a young flyer.

Joshua McCall noticed a boy was dancing as his family of five was going through security at Newark Liberty International Airport, USA Today reported.

The boy then challenged McCall to a dance-off.

The TSA posted the ensuing battle to its Instagram account, where it took off.

>> Read more trending news

New Jersey TSA federal security director Tom Carter said employees accept dancing challenges as long as all passengers are secure, according to the Instagram post, USA Today reported.