Jason O’Mara has been cast in A&E’s L.A. riots pilot “The Infamous,” Variety has learned. He will co-star with “Fargo’s” Bokeem Woodbine.

Set in the era leading up to the L.A. riots, “The Infamous” follows an ambitious reformed gangster poised to break out of South Central and an LAPD detective equally determined to take him down.

O’Mara will play said LAPD cop, Bill Slidell, who’s described as a a hard-­charging officer, notorious for attracting trouble. A good cop who believes himself to be morally upright, Bill also has some questionable views on race and mountains of family baggage to contend with. Woodbine will play the other lead, Shannon, a former gang member-turned-successful hip-hop producer who becomes the target of O’Mara’s character.

Most recently coming off USA Network’s “Complications,” which was cancelled after one season, O’Mara has starred in a slew of series including CBS’ “Vegas,” Fox’s “Terra Nova” and ABC’s “Life on Mars.”

“The Infamous” hails from writer Joshua Zetumer (“Gambit”). Anothony Hemingway (“American Crime Story”) will direct the pilot. Both will also serve as exec producers, along with Nina Jacobson, Brad Simpson, Mike Jackson, Ty Stiklorius and John Legend. Production on the pilot begins March 7 in Los Angeles.

O’Mara is repped by UTA, Independent Talent in the U.K., and Jackoway Tyerman Wertheimer Austen Mandelbaum Morris & Klein.