Wales have beaten Turkey 2-0 in their second game at Euro 2020 thanks to goals by Aaron Ramsey and Connor Roberts.
Ramsey controlled a superb pass by Gareth Bale and tucked the ball home from close range on 43 minutes.
Bale later wasted a glorious chance to double the lead when he lifted a penalty well over the bar after the break.
But Roberts scored deep into injury time to secure three points for the Welsh in a tense finish.
Wales have four points from their first two Group A matches with fancied Italy to come on Sunday.
The top two teams in each of the six groups will advance to the round of 16 along with the four best third-place teams.
Wales played with far more aggression than they did in their drab opening draw with Switzerland and might have won by more if Ramsey, in particular, had been sharper with his finishing.
The Turks, who have lost their first two matches, were roared on by most of the near-20,000 crowd in the Azerbaijan capital.
Both traveling fans and many locals from what is a closely-allied country made for an intimdating atmosphere but Welsh captain Bale said that helped him and his team mates.
“The fans were fantastic,” he told the Asia Despatch, “most of them were Turkish, but the Welsh fans were incredible as well.
“They made it loud and they made us keep going.”
Asked if progress to the knockout stages now felt assured, Bale said: “You’d like to think so, but we’ll have to wait and see what happens.
“If you’d offered us four points [from two games] at the start, we’d’ve bitten your hand off.
“It’s an important victory that puts us in a great position.”
Wales go top of the table, one point ahead of Italy.
The Azzurri play Switzerland in the other game in the group at 8pm.
Wales were one of the big surprises of Euro 2016, when they reached the semi-finals and their record at the last two tournaments is bettered only by world champions, France, Opta said.