The Boston Celtics are taking care of their frontcourt business Tuesday.

Restricted free agent Daniel Theis has agreed to a two-year, $10 million contract to stay with the Celtics, his agents told ESPN's Adrian Wojnarowski on Tuesday.

Theis was Boston's last remaining restricted free agent, as Terry Rozier signed with the Charlotte Hornets and Brad Wanamaker entered unrestricted free agency after the C's didn't extend him a qualifying offer.

Theis returns to a new-look Celtics frontcourt that lost Al Horford to free agency (Philadelphia 76ers) and Aron Baynes to a trade with the Phoenix Suns but added Enes Kanter (who also inked a reported two-year, $10 million deal) and Vincent Poirier in free agency.

The 27-year-old German big man averaged 5.7 points and 3.4 rebounds over 13.8 minutes per game last season but could see an expanded role this season with Horford and Baynes out of the mix.

Click here to download the new MyTeams App by NBC Sports! Receive comprehensive coverage of your teams and stream the Celtics easily on your device.