(CNN)Wales survived a second half scare against Scotland to move to within one win away from the Six Nations title and Grand Slam glory.
Six Nations: Wales close in on Grand Slam title with win over Scotland
1 of 7
2 of 7
3 of 7
4 of 7
5 of 7
6 of 7
7 of 7
It was made to work for its 11-18 victory though, with a depleted Scotland side left disappointed not to have made the most of a chaotic second period in which Wales failed to score until the last minute.
Warren Gatland's team, who have won 13 matches in a row, will now have the chance of lifting the trophy in Cardiff next week with a win over Ireland.
Scotland had started the match on the front foot as the home supporters inside Murrayfield Stadium made their voices heard, with Finn Russell kicking a straightforward penalty to open the scoring.
But the dropped points seemed to shock Wales into action. Less than two minutes after the restart the visitors were in front thanks to a wonderful finish from Josh Adams.
The winger expertly sidestepped the Scottish defense to continue his impressive form in this year's championship.
Despite Wales' dominance, it was only able to score one more try before the half time whistle -- with Jonathan Davies powering over the line.
Failure to capitalize on their early superiority almost came back to bite the visitors in the second period.
Scotland began to make a game of it and Darcy Graham finished off a wonderful move that seemed to give the hosts a new lease of life.
The more Wales tried to close out the game the more Scotland began to find gaps in the usually formidable Welsh defense.
But despite the late surge, Scotland was unable to land the final blow and Wales finished off with a penalty in the final minute.
It's the hosts' third loss of this year's championship, but Scotland can be pleased with a second half performance that almost won the match.