FX announced on Saturday that the comedy series "Wilfred," "Louie" and "It's Always Sunny in Philadelphia" have been renewed.

"Wilfred" has been renewed for a second season, "Louie" for a third and "It's Always Sunny" was renewed for an eighth and ninth season, making it the longest-running comedy series in basic cable history, according to Entertainment Weekly.

"Wilfred" stars Elijah Wood as Ryan, a man who squabbles with a dog, who he sees as a man in a costume. The show is based on an Australian series and Jason Gann, the original show's co-creator, reprises his role as the dog's human persona.

Stand-up comedian Louis C.K. stars in "Louie," a partially biographical comedy which follows his life and stand-up tour.

The network president John Landgraf announced the pickups at the Television Critics Association summer press tour and said that "It's Always Sunny in Philadelphia" had also been optioned for what would be its 10th season.

The show was created by stars Rob McElhenney, Glenn Howerton and Charlie Day and Landgraf called it the "cornerstone" of FX's comedy brand.

"They literally had no experience writing, no experience directing," Landgraf said of the "Sunny" creators. "They literally made a pilot for $200 they shot in their back yard. They were so young and so willing to learn and we didn't bring in show runners over them. It was a good partnership. It started out so bare bones - Rob McElhenney was a waiter and didn't quit his job until season two."

Landgraf also mentioned the cancellation of "Lights Out" and "Terriers," pointing out the fact that if they hadn't been canceled, the network would not have been able to take on "Glee" creator Ryan Murphy's new drama, "American Horror Story," a series which he called a potential "breakthrough" for FX, according to The Hollywood Reporter.