Cleveland Cavaliers point guard Kyrie Irving will be staying in Cleveland after agreeing to a maximum extension.

His new contract will be five-years and worth $90 million, the biggest a player can have under the collective bargaining agreement, according to ESPN.

The contract will begin during the 2015-2016 season and run to the 2019-2020 season. He will be able to officially re-sign with the Cavaliers on July 10 when the NBA free agency moratorium lifts.

Cavaliers’ owner Dan Gilbert announced the deal on twitter.

Throughout last season Irving was unsure if he wanted to remain in Cleveland, but once free agency opened at midnight Tuesday, he tweeted that Cleveland was the place for him.

Irving,the first overall draft pick in 2011, averaged 20.8 points and 6.1 assists last season and made the All-Star team for the second straight year. Since the Cavaliers drafted Irving, the team has gone through three coaches and has not made the playoffs.

The Cavaliers are hoping to convince Lebron James to return to Cleveland after four seasons in Miami. They hope with Irving and Andrew Wiggins, the first overall pick in this years NBA Draft, on the team they can.