The Matthew McConaughey/Woody Harrelson cop drama “True Detective” has landed at HBO.

THR says the project, written by Nic Pizzolatto, was greenlit for an 8-episode order at the cable network.

The duo will star as detectives Rust Cohle (McConaughey) and Martin Hart (Harrelson) whose lives become entangled while searching for a serial killer in Louisiana. True Detective’s first season will follow the the 17-year hunt for the killer with following seasons replacing the cast and story — a similar format that FX has employed for its freshman hit American Horror Story

Cary Fukunaga (“Jane Eyre”) will direct the first season.