It was the dreaded fourth game in five nights for the Milwaukee Bucks.

And they desperately needed a victory after suffering consecutive losses to the Chicago Bulls and New York Knicks.

But the Bucks showed they had some energy in reserve as they fought off a spirited effort by the Orlando Magic and secured a 107-98 victory Saturday night at the BMO Harris Bradley Center.

Larry Sanders, slowed by illness earlier in the week, was rejuvenated and contributed 17 points, 13 rebounds and six blocks to the Bucks' cause.

And Monta Ellis hounded Magic sharpshooter J.J. Redick all night while also scoring a game-high 21 points and adding 11 assists.

The Bucks (25-21) finished the week at 2-2 and moved within one game of sixth-place Atlanta in the Eastern Conference race.

"The last night of a four-in-five is always tough to muster up energy and enthusiasm," forward Mike Dunleavy said. "But we were able to get the win and that's most important."

Orlando (14-33) lost its ninth straight game and was playing without injured starters Arron Afflalo, Glen Davis and Jameer Nelson.

But all 11 Magic players scored while putting in a determined effort. The Bucks trailed, 61-60, halfway through the third quarter before going on a 19-6 run to end the period.