Wales maintained their unbeaten start in the 2025 European Under-21 Championship qualifiers with a 3-2 victory in Lithuania to go top of their group.
Luke Harris put Wales ahead in the first half with his first Under-21 goal.
Fin Stevens doubled the lead after the break and Joel Cotterill added a third.
Faustas Steponavicius and Kristupas Kersys scored for Lithuania in stoppage time but Wales held on.
Matty Jones' side move above Denmark at the top of the Group I and are away to the Czech Republic on 13 October.
After a slow opening half hour, Wales went ahead following a slick move which resulted in Pat Jones forcing keeper Julius Virvilas to parry only for Fulham's Harris to fire home the loose ball.
The visitors made the perfect start to the second half when Stevens, on loan at Oxford United from Brentford, finished Rubin Colwill's low cross at the far post to put Wales further ahead.
Josh Thomas had a shot turned over the crossbar by Virvilas before fellow substitute Joel Cotterill struck home with eight minutes remaining.
But stoppage time goals from Steponavicius and Kersys set up a nervy finale for Wales, who nevertheless have now taken four point from the two opening away qualifiers.