|Alina Iagupova erupted for 23 points and pulled down 8 rebounds in Ukraine's big win|
Hungary will have to wait until they host EuroBasket Women 2015 to play in the Final Round after falling at Ukraine 73-66 on Saturday.
In a do-or-die battle for next year's EuroBasket in France, Alina Iagupova poured in 23 points for Ukraine as they finished second to Belarus in Qualification Round Group A.
Hungary had a dream start with five straight points by Kata Honti lifting them into a 15-8 advantage midway through the opening quarter.
When power forward Anna Vajda connected from long range, Hungary's lead grew to 22-14 at the end of the first frame.
Ukraine twice pulled level in the second quarter but a Dora Horti jumper with 16 seconds to play in the first half gave the visitors a 38-37 lead at the break.
The hosts did go in front in the third quarter but the Hungarians got their noses back in front.
Behind 47-44 with 4:11 to play in the third period, though, Ukraine's determination finally paid off.
Lyubov Alyoshkina made a lay-up to trim the deficit to one and Tetiana Panchenko made two straight baskets for a 50-47 Ukraine advantage.
The contest remained tight until the end but Ukraine held on for a hugely important win.
Hungary head coach Stefan Svitek
"We started well, it was all according to plan, but then the process got out of control and we could not do anything about it. The Ukrainian basketball players were well prepared, it was their key to victory. We fought, but the main mission was not accomplished. So this tournament was bad for us."
Ukraine head coach Vadim Czeczuro
"We were nervous. Because we had to win. We are happy to play at the EuroBasket Women."
Hungary player Katalin Honti
"I think we should have won in Hungary two weeks ago. If we win two weeks ago, maybe we would be playing at the EuroBasket Women next year."
Ukraine player Oleksandra Kurasova
"We are very happy. We worked two months for this victory. I hope that we will play at the EuroBasket Women with the same roster."