FX Prods renewed It's Always Sunny in Philadelphia for two more seasons and inked a huge deal with Rob McElhenney, Charlie Day and Glenn Howerton that included the pickup of several series.

It's Always Sunny, which was renewed for its 11th and 12th season, will become the longest-running live-action cable comedy series after those two seasons air, according to TheWrap. Both seasons will be 10 episodes long.

The overall deal also includes a new three-year contract with the creative trio that is supposedly worth more than their last deal, reports Deadline. That deal was worth $50 million.

Another part of the deal included the pickup of a Tracy Morgan comedy vehicle, which was created by the Howerton, Day, McElhenney and Luv Rakhe. The plan is for the series to debut alongside the premiere of the 10th season of It's Always Sunny in January 2015.

As if that wasn't enough of a collaboration between the network and the trio, there was also a blind comedy pilot and script order for Harder, which was written by Howerton and Scott Marder; a pickup of We're Good, Thanks from Day, Mary Elizabeth Ellis and Artemis Pedbani; and finally Blow Up Dolls, written by Sarah Solemani.

FX president original programming Nick Grad said, "Rob McEllhenney, Charlie Day and Glenn Howerton are three of the most talented comedy writers and producers in our business, no to mention very gifted actors."

Grad added, "This deal is a testament to their skill, intelligence and work ethic, which combined to earn them one of the best overall deals in TV. Not bad for three guys who shot a pilot ten years ago for $200 and a few pizzas."