The Dallas Mavericks have agreed to re-sign big man Maxi Kleber to a four-year, $35 million contract, according to Marc Stein of The New York Times. The deal includes a team option for the fourth year.

Kleber is coming off a 2018-19 campaign in which he played 71 games and made 18 starts, averaging 6.8 points, 4.6 rebounds and 1.1 blocks over 21.2 minutes per game while shooting 45.3 percent from the floor, 35.3 percent from 3-point range and 78.4 percent from the free-throw line.

The 27-year-old, who is from Germany, signed with the Mavs during the summer of 2017.

He went on to appear in 72 contests with Dallas during his rookie year, making 36 starts. During that time, he registered 5.4 points and 3.3 boards across 16.8 minutes a night while making 48.9 percent of his field goal attempts, 31.3 percent of his long-distance tries and 74.6 percent of his foul shots.

Kleber will be a part of a frontcourt that will also include Kristaps Porzingis next season, as Porzingis agreed to re-sign with the Mavs on a $158 million max contract at the start of free agency on Sunday.

Porzingis did not play at all this past season while he recovered from a torn ACL. The Mavs acquired the big man in a midseason trade with the New York Knicks.

Dallas won just 33 games this past year and has not made the playoffs since 2016, but with a young core that consists of Porzingis and Luka Doncic, the Mavs appear to be taking steps in the right direction. Bringing back Kleber to help solidify their frontcourt depth is certainly a good move.