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.

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.

Related: COMIC-CON 2012: Revolution Village Photos

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.