Poor offensive execution in the final two minutes doomed the Milwaukee Bucks on Sunday afternoon.

The Bucks were in position to finally put away the Atlanta Hawks but instead let the visitors escape with a 104-99 victory at the BMO Harris Bradley Center.

The Hawks scored the final seven points and took full advantage of five Milwaukee turnovers in the last 2 minutes 6 seconds.

"Every game counts right now," said Bucks forward Ersan Ilyasova. "We didn't really execute well at the end of the game and we had a couple of bad turnovers and they got the advantage."

Monta Ellis drilled 3 three-pointers in a short span in the fourth quarter to lift the Bucks to a 97-92 lead with 2:45 remaining.

But nothing went right after that for Milwaukee (34-35), which fell two games behind seventh-place Boston (36-33) in the Eastern Conference playoff race.

Even after Josh Smith tied the score at 99-99 with a driving layup with 33.9 seconds left, the Bucks called a timeout and had a chance to regain control.

But Ellis lost the ball and the Bucks fouled Dahntay Jones, who sank one of two free throws. The Bucks compounded the error by allowing Anthony Tolliver to rebound Jones' missed second foul shot.

Tolliver was lined up outside the three-point arc but darted in and grabbed the rebound after Jones was far short on his attempt.

The Bucks had to foul again, and Hawks forward Al Horford sank two free throws with 20.1 seconds left to give Atlanta a 102-99 lead.

Milwaukee had one last chance, but Ellis missed a three-point try and Mike Dunleavy was called for traveling after grabbing the rebound.

"There were crazy events happening out there at the end," Bucks coach Jim Boylan said. "It's frustrating when you're playing against a team and come up short every time.