Actor Giancarlo Esposito (Once Upon a Time) has signed on for a leading role in the NBC pilot Revolution, which is being produced by J.J. Abrams and Supernatural creator Eric Kripke.

The story is set in a chaotic world where all forms of energy have mysteriously disappeared, and centers on a group of characters trying to reunite with their loved ones during this chaotic time. Giancarlo Esposito will play Captain Neville, a hard-nosed military man who may be harboring a secret from his past.

RELATED: NBC's Revolution Will Wrap Online in DC Digital Comic

We reported earlier this month that Jon Favreau will direct the Revolution pilot, which was written by J.J. Abrams and Eric Kripke. It isn't known when production will start on Revolution.

Giancarlo Esposito, who portrayed Gustavo Fring in a critically-acclaimed turn on Season 4 of Breaking Bad, currently plays Sidney in ABC's Once Upon a Time. If Revolution gets picked up to series, Giancarlo Esposito may have to leave Once Upon a Time, but it's too early to know for sure at this point.