Ozge Yavas made a pair of free-throws with 12 seconds left in the game as Turkey held off the Ukraine 74-72 in the U18 European Championship for Women.
The Turks scored the first 11 points of the game and looked on their way to a straight-forward enough win as they took a 47-38 half-time lead, thanks to a three-point clinic in the first half.
However, the Ukraine recovered from a slow start and behind the scoring power of Ol'Ha Maznichenko and the two Katerynas - Rymarenko and Dorogobuzova - saw the deficit vaporise as the teams traded the lead in the final frame.
Maznichenko hit a three-pointer to put her side up by one, 69-68, with 3:10 left to play. Turkey responded with four points in a row for a bit of breathing space.
Hanna Yeremeychuk hit from beyond the arc with under a minute left in the game as the Ukrainians closed within one, 73-72, but Yavas sealed the deal with her pair from the charity stripe.
The Turks hit eight of 14 attempts from long range in the first two quarters with Ozge Yavas connecting on all four of her attempts to help her team take a 47-38 half-time lead.
Much as has been the case throughout the tournament, the Ukrainians were slow in finding their shooting touch but, when they did, it made for a close game as they outscored their opponents 21-14 in the third quarter.
Gamze Tamkaz had a game-high 29 points and Yavas added 18 points, six assists and four rebounds for Turkey, who finished with a 2-3 mark in Group E of the Qualifying Round.
The Ukraine were paced by Maznichenko's 24 points and 10 rebounds while Rymarenko had 21.
The loss dropped them to 1-4.