Lithuania beat Ukraine 73-68 on Wednesday to move into second place in EuroBasket Women qualifying Group A.
Coming off a 16-point home setback against group leaders Israel to slump to 3-2, Lithuania needed to prevail to have a good chance of claiming second spot in the standings and book an automatic place in next year's final round in Riga, Latvia.
The triumph means the two teams are now 4-2.
As Lithuania have won both games against Ukraine, the Baltic country has the edge in a head-to-head tie-breaker should the sides finish with the same number of wins and losses.
Diana Razmaite led Lithuania with 17 points while Rima Valentiene poured in 14 and Sandra Valuzyte 12.
Ukraine had only suffered a seven-point defeat at Lithuania in the first encounter, and on Wednesday they had the benefit of playing at home.
The hosts opened up their biggest advantage of the game early in the second half at 47-38 after a three-point play by Olexandra Gorbunova.
A Valuzyte three-ball sparked a 10-0 run for Lithuania and put them on top, only for Gorbunova to take her points haul to 16 with a jump shot and put Ukraine in front at 49-48.
Lithuania had the wind in their sails, though, and reeled off seven more points in a row to lead 55-49.
They stayed in front the rest of the way.
In that decisive spurt, Agne Ciudariene split a pair of free throws and Valentiene made two at the line before Gintare Petronyte drilled a jumper.
Egle Zygelyte capped the run with two more free throws.
Ukraine's Gorbunova and Olena Zherzherunova each had 19 points to lead all scorers.
However, Ukraine were plagued by 21 turnovers and Gorbunova had five off them.
Lithuania turned the ball over just 15 times.
The Lithuanians also shot the ball well inside the arc, making 21 of 41 (51.2%) compared to Ukraine's 17 of 37 (45.9%).
Valuzyte finished as the game's leading rebounder with seven, while Valentiene and Ciudariene came up with five steals apiece.
Rutenis Paulauskas, Lithuania coach:
"We knew that Gorbunova is a very strong player and one of the tasks for the game was to limit her play. We did very well on defense as a team, all the girls fought hard. We managed to reduce our mistakes during the second half and organized a number of fast breaks, which was key for us. We have two games left against Germany and Great Britain. We must win both and move on."
Volodymyr Bryukhovetsky, Ukraine coach:
"We had a chance to guarantee our participation in EuroBasket 2009 with a win in tonight's game. And now we must win our two remaining games. Don't forget that Israel won very confidently in Lithuania, which tells you how strong they are. I don't know what happened in the second half. We got a five-point lead and thought we'd easily hold on to it. But we lost our concentration and blew it. We were not ready for the tough defense we faced."