Kemba Walker is heading to Boston.

The longtime Hornets guard has committed to signing a four-year, $141 million contract with the Celtics, his agent, Jeff Schwartz, told ESPN.

Even though Walker insisted his top choice was to stay with the team that selected him ninth overall in the 2011 draft, he couldn't pass up the Celtics' offer after a tough couple of years that saw the Hornets miss the playoffs three consecutive seasons.

According to an earlier report from The Athletic, which cited unidentified league sources, Walker and Charlotte experienced "sizable gaps and a stalemate" in their contract discussions.

Walker averaged a career-high 25.6 points, along with 5.9 assists for Charlotte last season. He shot 43.4 percent from the field and 35.6 percent from 3-point range.

The Hornets will attempt to replace Walker with Terry Rozier, who it reportedly acquired in a sign-and-trade with Boston on Sunday.