Matthew McConaughey, Woody Harrelson Starring in ‘True Detective’ at HBO

The duo will play detectives whose paths cross when they try to solve a 17-year-old serial murder case in Louisiana

"EDtv" co-stars and real-life pals Matthew McConaughey and Woody Harrelson are nearing a deal to co-star in "True Detective," an anthology crime series at HBO.

GettyMultiple sources confirm to TheWrap that the series, written by "The Killing" writer Nic Pizzolatto and directed by Cary Fukunaga ("Jane Eyre"), would star the duo as Rust Cohle (McConaughey) and Martin Hart (Harrelson), a pair of detectives whose paths cross when they're both trying to solve a 17-year-old serial murder mystery in Louisiana.

The project was developed by Anonymous Content, and will be produced by Richard Brown, Steve Golin, Bard Dorros and Pizzolatto and Fukunaga.

Also read: Matthew McConaughey Gets 'Dazed and Confused' Again for Butch Walker Clip (Video)

The story would begin with the 1995 murder and pick up when the case is reopened in 2012. McConaughey and Harrelson would star in eight episodes for the show's first season, which would end with the case being solved. Deadline.com first reported the story.

Subsequent seasons would revolve around new stories and characters, not unlike FX's "American Horror Story." Given the potential for a limited time commitment, "True Detective," like "AHS," would be likely to attract a longer list of possible stars for future seasons.

McConaughey and Harrelson also co-starred in the movie "Surfer, Dude" and both made cameos in "Welcome to Hollywood."

Watch the pair in action in the "brah"-heavy trailer for "Surfer, Dude":