Ukraine breathed some life back into their EuroBasket Women Qualification Round campaign with a 78-73 victory at Hungary.
The Group A result has left both sides with 2-2 records.
Ukraine began the Qualification Round with a resounding victory over Portugal but then fell to Israel and Belarus.
Coach Vadim Czeczuro saw Wednesday as a must-win game for his players and they delivered after outscoring the home side 20-15 over the last 10 minutes.
The 20-year-old guard Alina Iagupova led Ukraine with 27 points and five steals.
Veteran center Lyubov Alyoshkina also came up big with 22 points.
The most important points of all, though, were scored by 33-year-old guard Tetiana Panchenko.
With Hungary on top, 73-71, after a three-ball by Alexandria Quigley, Panchenko went to the other end of the court and drilled a three-ball for the visitors to put them back in front.
Alyoshkina followed with a basket for a 76-73 lead and Hungary coach Stefan Svitek called a timeout with 27 seconds to go.
After Alyoshkina blocked a shot by Krisztina Raksanyi, Hungary called another timeout.
When play resumed, they got the ball to Quigley but her attempt from long range was off target.
Alyoshkina added two free-throws for the five-point triumph.
Dora Horti had 18 points and Quigley 16 for Hungary.