Latvia will be making a second successive appearance at EuroBasket Women thanks to their 73-60 road win over Belgium in qualification on Wednesday.
The win leaves Lativa in top position in Group E with a 3-1 record.
Belgium, led by star center Ann Wauters, were always going to be a tough prospect for Latvia and it was only in the final quarter that the Baltic side were able to pull away.
The home team led by as many as 10 points in the first half, before Latvia tied the score at 31-31 at halftime.
The game stayed close in the third quarter, until Anete Jekabsone-Zogota scored her team's final five points of the period to give Latvia a 49-44 lead.
An 8-0 run at the start of the fourth quarter saw Latvia take a 57-44 lead and Belgium were in trouble.
But the Belgians fought back valiantly and got to within 2 points when Marjorie Carpréaux drained a three-pointer with 1:49 to go, 63-61.
The teams then traded baskets before Latvia applied the killer blow.
Liene Jansone grabbed her fifth offensive rebound of the game from a Gunta Basko miss and the ensuing basket gave Latvia a 65-63 lead.
Belgium answered with an Ann Wauters lay-up, but Ieva Kublina hit a three pointer to extend the gap to five points, 68-63.
With 41 seconds to play, there was plenty of time for Belgium to come back but Kublina came up with two huge defensive stops. First she blocked a Carpréaux lay-up attempt and although Wauters grabbed the rebound, Kublina managed to rotate over and block her three-point attempt.
Basko grabbed the loose ball and Jekabsone-Zogota made the game safe from the free throw line.