James Harden has just signed a record-breaking contract with the Houston Rockets.

According to ESPN’s Adrian Wojnarowski and Brian Windhorst, the shooting guard has agreed to a four-year extension deal that will earn him $228 million through the 2022-23 season. 

Though the Rockets did not reveal the financial terms of the contract, officials did confirm the four-year extension.

"It's my pleasure to announce we've reached agreement with James Harden on a long term contract extension. Since he arrived in Houston, James has exhibited the incredible work ethic, desire to win, and passion to be the best that has made him one of the most unique and talented superstars in the history of the game," Rockets owner Leslie Alexander, said in a press release. "Additionally, the commitment he has shown to our organization, the City of Houston, and Rockets fans all over the world makes him a perfect leader in our pursuit of another championship. I'm very happy for James, his mother Monja, and their family on this exciting day."

The megadeal will start in the 2019-2020 season, starting with an annual salary of $37.8 million with an 8 percent increase each following year. The total value of the extension is $170 million.

Last summer, Harden signed a four-year extension with the Rockets that was reportedly worth $118 million. ESPN reports the NBA star was able to add four more years to his deal thanks to a new CBA rule that allowed extensions for "superstars." (Harden became eligible after making the NBA All-Star team last season.)

Harden still has two years remaining and about $58 million owed in the original deal.

"Houston is home for me," Harden said in a press release. "Mr. Alexander has shown he is fully committed to winning and my teammates and I are going to keep putting in the work to get better and compete for the title."