In one of Hulu’s biggest content deals to date, the multi-year licensing agreement with 20th Century Fox TV Distribution will grant the streaming service exclusive SVOD rights to new and upcoming FX and FXX primetime comedy, drama and miniseries produced or co-produced by FX Prods.

Under the deal, the first seasons of FX and FXX primetime titles including Tyrant, The Strain, Married, and You’re The Worst, will be available exclusively on Hulu Plus ahead of their second season premieres. Hulu also gains exclusive subscription streaming rights to subsequent seasons of those shows. In addition, Hulu has also licensed, non-exclusively, prior seasons of FX Networks’ dramas Sons Of Anarchy and American Horror Story, as well as comedies It’s Always Sunny in Philadelphia, Louie, Archer, The League, and Wilfred.

Future FX Networks’ series that will be exclusive to Hulu in the SVOD window include comedy series Man Seeking Woman starring Jay Baruchel (series premieres January 14 on FXX); The Comedians, starring Billy Crystal and Josh Gad (series premieres spring 2015); Sex&Drugs&Rock&Roll, starring Denis Leary and John Corbett; Ridley Scott’s period drama series Taboo, and the comedy series Baskets, starring Zach Galifianakis produced by Louis C.K. and Galifianakis (debuts 2016). Tyrant, The Comedians, and Sex&Drugs&Rock&Roll are co-productions between Fox 21 Television Studios and FXP, and Taboo is a co-production of FXP, Scott Free Films, Hardy Son & Baker, Sonar, and BBC One.

According to the announcement, “Hulu will provide FX Networks on- and off-site branding to reinforce the association of the shows with the FX networks and further strengthen the FX brand.” That has been very important to FX whose topper John Landgraf has been vocal about his displeasure with streaming giant Netflix for stripping FX series like SOA of their original network branding, making them look like Netflix originals. In return, Hulu will be promoted on the FX networks.

In addition to FX Networks’ original series, Hulu will also gain exclusive subscription streaming rights to Fox’s upcoming event series Wayward Pines from executive producer and director M. Night Shyamalan (series premieres May 14 on Fox).

“FX Productions shares the same commitment to creating and distributing distinctive, high quality programming that we do here at Hulu. We are thrilled to begin this partnership, which will add a wide variety of popular series, and fresh, yet-to-air series to our ever expanding roster of great content,” said Craig Erwich, Senior Vice President, Head of Content Hulu.

“Our new partnership with Hulu is a milestone that we have been building toward for the past decade,” said Eric Schrier, President of Original Programming, FX Networks and FX Productions. “This landmark deal speaks to the quality of the FX roster of original series as well as the importance and growth of our in-house production unit FXP. This partnership is an integral component to our future and will allow us to continue to expand our original programming offerings.”