Spain beat Russia 92-83 in the 5th-6th place game at the U18 European Championship Men 2009 in Metz, France.
The Spanish took an 18-8 lead courtesy of Joan Llovet with 2:26 left in the first quarter but Russia came back in the second period, tying the game at 27 with just over seven minutes remaining before the break.
Alejandro Martinez's side then went on a 27-9 run for a 54-38 advantage at half time and kept adding to it in the third quarter, going up by 21, 60-39, on Miguel Lorenzo's dunk.
Russia trimmed it back to 15, 71-56, by the end of the period and were within six, 86-80, on Dmitry Kulagin's shot to cap a 24-9 over the first 7:44 of the final frame.
Spain were back up by nine, 89-80, when Ignacio Guigou hit a free-throw with 1:08 remaining. Alexander Knyazyuk hit a three-pointer with 44 seconds remaining but Spain held on.
Llovet, Joan Sastre and Joan Tomas each had 14 points while Alberto Jodar chipped in with 13.
Nikita Barinov had a game-high 21 for Russia.
Italy beat Croatia 99-88 in the 7th-8th place game thanks to a scoring spree late in the third quarter.
The Azzurris took a 24-20 lead at the end of the first quarter. Croatia kept the game close and edged ahead 42-41 on Pasko Vrlika's basket with 1:56 left in the second period, but it would prove to be their last lead of the game.
Toni Prostran cut the deficit to three, 60-57, midway through the third quarter, but the Azzuri finished the period on a 15-5 run spearheaded by Achille Polonara and Riccardo Moraschini.
Marco Maganza extended Italy's lead to 15, 77-62, in the opening minute of the final frame.
Croatia got the deficit back to eight, 89-81 on Domagoj Bubalo's shot with 4:03 left to play, but Polonara and Maganza closed the game out for Italy.
Polonara finished with 20 points and 11 rebounds while Maganza chipped in with 17 points.
Toni Prostran had game-highs of 23 points and 12 assists.