December 11, 2020 | 12:03am | Updated December 11, 2020 | 12:03am

Break out the rum ham because the gang’s not going anywhere.

FX has renewed its beloved sitcom “It’s Always Sunny in Philadelphia” for four more seasons — making the show the longest-running live-action comedy of all time.

“Always Sunny” is breaking its previously set record in May 2020, when it was renewed through Season 15. The previous record holder was ABC’s “The Adventures of Ozzie and Harriet,” which ran for 14 seasons from 1952 through 1966.

The announcement was made on Thursday by FX Chairman John Landgraf. It was tied to FX owner Disney’s Investor Day presentation, which also included major announcements for other Disney properties — including Marvel and “Star Wars” series.

“Always Sunny” began airing on FX in 2005. The show was created by Rob McElhenney, who also stars in the show alongside Glenn Howerton, Charlie Day, Kaitlin Olson, and Danny DeVito.

The unconventional sitcom began as a pilot shot on a digital camcorder by McElhenney, who developed the series with Howerton while both were under-employed actors in Los Angeles. After the show was picked up by FX, Danny DeVito joined the cast for Season 2.

“Always Sunny” has cultivated a loyal fanbase and continues to draw viewers through its later seasons. The show saw on average over 3 million viewers per episode during its 13th season, according to Variety.

Season 15 of “Always Sunny” is scheduled to debut on FXX in 2021. Episodes will be available to stream on Hulu after they debut.