Actors Julie Bowen, Ty Burrell, Jesse Tyler Ferguson, Eric Stonestreet and Latina actress Sofia Vergara will be provided with a large sum of money and a raise from their previous $65,000 per episode.

The big raises for the upcoming fourth season are as much as $175,000 per person, per episode with bonuses included.

The sixth cast member, Ed O’Neill reportedly earned $105,000 per episode, a lot more than his other co-stars, but after the negotiation will now earn the same amount as them.

Last week, the “Modern Family” actors filed a lawsuit in Los Angeles Superior Court to void their contracts according to People. All the lead actors of the show stated that their 20th Century Fox Television contract was illegal.

“’Modern Family’ has been a breakout critical and financial success,” the lawsuit states. “That success, however, has been built upon a collection of illegal contracts.”

The cast agreed to sign on for one more year to their existing 7- year contract and to drop the lawsuit in exchange for the raises. They will reportedly reach $350,000 per episode by the show’s 8th season.

The production of the show was halted while the dispute was being settled, but starting next week the cast will begin filming on time for their fall premiere.

“It’s no surprise, but I’m of course thrilled and I cannot wait to get on stage Monday morning and start making the show again,” co-creator of ‘Modern Family”, Steve Levitan, tells The Hollywood Reporter. “It’ll feel great, I’m sure everybody is going to be very relieved and I hope that it’s the beginning of a great season. I’m very happy for my friends on the cast for their success, I really am.”