LOS ANGELES, Oct. 25 (AP) -- Shaquille O'Neal scored 11 of his 31 points in the fourth quarter and Kobe Bryant sank two free throws with one second left, giving the Los Angeles Lakers a 109-107 exhibition victory over the Milwaukee Bucks on Thursday night.

Sam Cassell scored 29 points, but L.A.'s fourth-quarter comeback gave the Lakers a win.
Andy Hayt/NBAE Photos
Ray Allen and Sam Cassell each scored 29 points for the Bucks (3-4), who also got 20 points from Tim Thomas.

Bryant, who finished with 18 points, picked up his fourth and fifth fouls in the opening 46 seconds of the third quarter and did not return until the start of the fourth. But the Bucks could only increase their lead from 10 to 12 points during that stretch.

Bryant was on the floor when centers Greg Foster and Joel Przybilla fouled out 13 seconds apart -- followed by Allen with 3:58 to play and the Bucks leading 103-94.

The Lakers scored 15 of the game's final 17 points, including back-to-back three-pointers by Lindsey Hunter and a three-point play by O'Neal that tied the score at 107 with 1:48 remaining. The Bucks did not make a field goal after Michael Redd's 17-footer with 7:33 to play.

The defending Central Division champion Bucks, one of only three Eastern Conference teams to beat the Lakers at STAPLES Center last season, got 15 points from Allen in the first quarter and built their lead to as many as 19 on a three-pointer by Rafer Alston with 9:41 left in the half.

The Bucks signed Anthony Mason to a four-year contract Thursday, three days after clearing salary cap room by trading forward Scott Williams to Denver in a three-team deal with Houston. They also trimmed their roster to 15 by requesting waivers on forward Byron Houston and guard Brian Taylor.