Parenthood alum Jason Ritter has been cast in a recurring role on Amazon’s upcoming original drama series Goliath, from executive producer David E. Kelley.

Ritter will play wry, but savvy FBI Special Agent Joe Farley.

Goliath stars Billy Bob Thornton, William Hurt, Olivia Thirlby and Maria Bello in the ultimate David vs. Goliath battle fought in the 21st century American legal system. 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 weighed toward the rich and powerful.

The series is written and executive produced by Kelley and Jonathan Shapiro. Ross Fineman, Larry Trilling and David Semel also exec produce. It’s set to premiere October 14 on Amazon Prime.

Ritter starred on NBC’s critically praised Parenthood as Lauren Graham’s love interest, and currently recurs on Comedy Central’s Another Period and HBO’s Girls. He recently filmed the feature The Tale, opposite Laura Dern, and will next be seen in Intervention, directed by Clea Duvall.