Alec Baldwin and Kelsey Grammer's comedy series has been scrapped.

Alec Baldwin

Alec Baldwin

Although the show was initially given a series order by ABC, channel executives decided to pull the plug on the project after viewing the pilot, Deadline reports.

The decision to axe the show comes after a change of leadership at ABC.

The unnamed project was set to star Baldwin, Grammer and Alec Mapa as a group of men who had been roommates in their twenties until their egos drove them apart. The series sees them reunite decades later.

It has been written by 'Modern Family's Chris Lloyd and Vali Chandrasekaran and directed by James Burrows.

Baldwin, Grammer, Lloyd and Chandrasekaran are all executive producers.

20th Television is now pitching the pilot to other networks and streamers.

Meanwhile, Pete Davidson recently revealed his fake exercise tips actually inspired Baldwin to shed 100 lbs.

The ‘Saturday Night Live’ star admitted he once lied to Alec about how he achieved his toned physique by telling him he does “100 push-ups and 100 sit-ups” every day.

He recalled: "I was on set and Alec was hosting and it was a sketch where I had to be shirtless ... and I guess I'm a little bit cut or whatever. So he came up to me and was like, 'What do you do?' And I didn't want to be rude and say, 'I just still have metabolism. I'm not in my mid-50s. I just wake up like this.'

"To make him feel better, I was like, 'Oh man, I do 100 push-ups and 100 sit-ups every day.’ ”

And to Pete’s surprise, the ’30 Rock’ alum actually took his advice, and managed to shed an impressive amount of weight in the process.

He said: "Then he got the [Donald] Trump gig [on ‘SNL’], so I would see him every week and every time we would run into the hallway he'd be like, '100 a day.’ And he started to do it and he lost like 100 pounds. And he says it's all because of me.”