The actor will return to the network two years after wrapping 'Hart of Dixie.'

The CW has found its Black Lightning hero in a familiar face.

Hart of Dixie alum Cress Williams will return to the network with the starring role in Greg Berlanti's latest DC Comics drama Black Lightning, The Hollywood Reporter has learned.

The drama, originally developed at Fox but ordered to pilot at CW, revolves around Jefferson Pierce (Williams), who made a choice to hang up his suit and his secret identity years ago, but with a daughter hell-bent on justice and a star student being recruited by a local gang, he’ll be pulled back into the fight as the wanted vigilante and DC legend — Black Lightning.

The drama is based on the DC Character Black Lightning created by Tony Isabella with Trevor Von Eeden.

The Game duo Salim Akil and Mara Brock Akil will pen the script and exec produce the drama alongside Greg Berlanti and his Warner Bros. Television-based Berlanti Productions topper Sarah Schechter.

For Williams, repped by APA and manager Sinclair Jones, the role brings the actor back to The CW two years after Hart of Dixie wrapped its four-season run. His credits include Code Black, Friday Night Lights, Prison Break, ER, Close to Home and Nash Bridges. He becomes the latest star to take on an iconic DC Comics character for The CW and joins Stephen Amell (Arrow), Grant Gustin (The Flash) and Melissa Benoist (Supergirl), among others.

Keep track of the latest news and castings at THR.com/PilotSeason and bookmark THR's handy guide.