CBS has cast Walton Goggins in its “L.A. Confidential” pilot, with the “Justified” alum to fill the role played by Kevin Spacey in the 1997 movie.

Goggins will co-star in the adaptation as Det. Jack Vincennes, who is described as “all swagger and flash with a movie star smile. Jack knows how the system works and uses it to his best advantage, including some corrupt shakedowns on the side.”

The James Ellroy novel is being adapted by “Gotham” writer Jordan Harper, who will co-showrun with Anna Fricke. New Regency’s Arnon Milchan, who produced the 1997 Oscar-winning film adaptation, will also executive produce.

Also Read: Jay Hernandez Lands Lead 'Magnum PI' Role in CBS Reboot

CBS’s description of the pilot promises an update to the story, giving it a “thoroughly 2018 treatment in terms of tone, music and style.” The story follows three homicide detectives, a female reporter and an up-and-coming actress, whose lives intersect as the detectives pursue a sadistic serial killer among the secrets and lies of gritty, glamorous 1950s Los Angeles.

It is produced by CBS Television Studios, New Regency and Lionsgate Television.

Goggins most recently starred on the History military drama “Six” and the HBO comedy “Vice Principals.” He is next set to appear opposite Alicia Vikander in the new “Tomb Raider” and the upcoming Marvel film “Ant-Man and the Wasp.” He is repped by ICM and Darris Hatch Management.