DALLAS (AP) — Jason Terry scored 12 of his 25 points during Dallas’ big third-quarter run and the Mavericks rallied to beat the Philadelphia 76ers 99-84 on Tuesday night.

Dirk Nowitzki added 21 points and 12 rebounds for the Mavericks, who bounced back from Saturday night’s 91-82 road loss to the Portland Trail Blazers. Nowitzki also matched a career high with eight assists.

Dallas shot 35 percent from the field and got a season-low 11 points from Nowitzki on Saturday night against Portland. The Mavericks upped it to 45 percent shooting against Philadelphia with Nowitzki going 7-for-14 from the floor.

Josh Howard added 18 points for Dallas.

Andre Iguodala had 15 points, 12 rebounds and eight assists for Philadelphia, which has lost three straight. Samuel Dalembert finished with a season-high 18 points and Willie Green added 16.

The Sixers led 50-43 at halftime after outrebounding Dallas 28-23 in the first half.