|Andorra are crowned champions at the European Championship Small Countries Men 2012.|
Jaume Tomas Vilana's team went in front in the first quarter at the Arena Domus and then led by as many as 16 points in the second half but had to pull hold on for dear life at the end.
Moldova trailed 58-45 heading into the last frame but closed the gap to 67-63 with 1:34 remaining on a jump shot by Ivan Cropotov.
Cropotov then missed a shot, and fouled Cinto Gabriel.
Moldova burned a timeout and when played resumed, Gabriel sank just one of two at the charity stripe for a 70-65 Andorra advantage.
Anton Rulevski gave Moldova hope by connecting from behind the arc and he then drew a foul on their next possession and sank two free-throws to pull to his team to within 72-70.
Cropotov next picked off a pass from Galera and got the rebound on his own missed jumper and scored to knot the contest at 72-72.
Andorra didn't cave in.
Rafael Casals put Vilana's side back in front with a jump shot on a fast-break with just seven seconds to play.
Shortly after, Marin fouled Rulevski and he had an opportunity to bring Moldova level but missed two free-throws.
After an Andorra timeout, Moldova fouled Casals and he failed to convert two free-throws but time expired and Vilana's squad celebrated a famous victory.
Neither team shot the ball well from the free-throw line.
Andorra were just 11 of 21 (52.4%) and Moldova sank 10 of 18 (55.6%).
Oriol Fernandez, Galera and Marin finished with 16 points apiece for Andorra, who out-rebounded Moldova 50-35.
In defeat, Cropotov had 18 points, Rulevski 16 and Priscepnii 13 points and 13 boards.
The winners raced into a 28-13 lead by the end of the opening quarter and stormed to a comprehensive victory.
Samuel Deguara had 41 points and 15 rebounds for Malta, who also finished third in 2010.
Nicholas Collins had 20 points to lead the Scots.