"The Big Bang Theory" ends its record-breaking 12-season run on Thursday, and the actors were some of the highest paid on television.

Actor Jim Parsons made headlines last summer for walking away from a reported two-year $50 million paycheck for two more seasons of the sitcom. That included $1 million an episode plus profits. CBS then announced the show would end with its 12th season, which premiered in September.

In 2017, Variety reported that the show's five original cast members — Parsons, Kaley Cuoco, Johnny Galecki, Kunal Nayyar and Simon Helberg — agreed to take $100,000 pay cuts in order to help costars Melissa Rauch and Mayim Bialik earn more. The two were making $200,000 an episode compared to the $1 million the original five were making.

For the final season, Rauch and Bialik received raises, according to The Hollywood Reporter, and made at least $425,000 an episode.