Television producer and creator Ryan Murphy has signed a deal with Netflix that could be worth up to $300 million.

RYAN MURPHY SIGNS $300 MILLION NETFLIX DEAL

At that price, this would be one of the largest overall deals for a showrunner in history. Murphy, 52, is the brains behind American Horror StoryAmerican Crime Story, Feud and 9-1-1, all at FX. He also recently started work on the 1980s musical drama Pose, which, along with the other four shows, Murphy will not be taking with him to Netflix.

At the streaming service, Murphy will produce both series and films as Netflix original content. One Flew Over the Cuckoo’s Nest fan spinoff Ratched as well as The Politician, both already in the works, will be helmed by Murphy.

Last December, Murphy showed some uncertainty about remaining at FX and 20th Century Fox following the studio’s purchase by Disney, his fear being that he would have to tone down his usual shocking style. Despite Disney CEO Bob Iger assuring Murphy that he would not have to sacrifice his graphic work to fit in with Disney, the showrunner still decided to sign with Netflix.

“The history of this moment is not lost on me,” Murphy said in a statement. “I am a gay kid from Indiana who moved to Hollywood in 1989 with $55 in savings in my pocket, so the fact that my dreams have crystallized and come true in such a major way is emotional and overwhelming to me.”

“Ryan Murphy’s series have influenced the global cultural zeitgeist, reinvented genres and changed the course of television history,” said Netflix CCO Ted Sarandos in a statement. “His unfaltering dedication to excellence and to give voice to the underrepresented, to showcase a unique perspective or just to shock the hell out of us, permeates his genre-shattering work.”

Murphy responded in kind, showing his appreciation for the Netflix offer. “I am awash in genuine appreciation for Ted Sarandos, Reed Hastings, and Cindy Holland at Netflix for believing in me and the future of my company, which will continue to champion women, minorities, and LGBTQ heroes and heroines, and I am honored and grateful to continue my partnership with my friends and peers at Fox on our existing shows,” he said.

The exclusive five-year deal with Murphy is just another building block for Netflix. Last summer the service signed with Shonda Rhimes, and had previously gotten Dave ChappelleDavid LettermanChris Rock and Adam Sandler on board with lucrative contracts.