Amazon has confirmed that it has greenlit David E. Kelley’s series “Trial,” which will star Billy Bob Thornton and William Hurt.

The series will debut exclusively on Amazon’s streaming service Prime Video in the U.K., Germany, Austria, Japan and the U.S. next year.

“Trial” is written by Kelley and Jonathan Shapiro (“The Practice”); executive produced by Kelley, Shapiro and Ross Fineman (“Lights Out”); and directed by David Semel (“Madam Secretary”). The series also stars Olivia Thirlby (“Juno”), Maria Bello (“Prisoners”) and Molly Parker (“House of Cards”).

“Billy Bob Thornton, William Hurt and David E. Kelley are world-class talents who have achieved longstanding success in captivating storytelling,” said Roy Price, VP, Amazon Studios. “We are excited to bring this series to our members next year.”

The series follows a down-and-out lawyer (Thornton) as he seeks redemption. His one shot depends on “getting justice in a legal system where truth has become a commodity, and the scales of justice have never been more heavily weighted toward the rich and powerful.”