The All Blacks have held on to secure a determined win over Scotland, coming away winners 22-17 in Edinburgh.
After a try-less first half ended at 3-3, the All Blacks came to life in the second spell, with Codie Taylor, Damian McKenzie and Beauden Barrett crossing over.
Scotland fought back through Jonny Gray and Huw Jones, but were denied a match winning try on fulltime by Beauden Barrett.
FULLTIME: All Blacks 22 Scotland 17
Scotland throwing the kitchen sink at the All Blacks now! Hogg tries to break but McKenzie makes a last ditch tackle! The Scotland fullback charges again and this time he's through! He beats three defenders but Beauden Barrett forces him wide. Hogg throws a pass back inside for Seymour but it goes forward and the referee blows for fulltime!
The All Blacks hold on for a gutsy win at the death!!!
78 mins: All Blacks 22 Scotland 17
TRY!!! Scotland attack now! Hogg puts a smart kick through for Seymour, who flings a no-look pass back inside to Jones. The centre races away to score and keep Scotland alive.
Russell makes the kick and the gap is now just five points!
76 mins: All Blacks 22 Scotland 10
Liam Squire breaks and is through! He just needs to pass back infield but can't get the ball away. Matt Todd gives away a penalty at the breakdown and Scotland get out of jail again.
74 mins: All Blacks 22 Scotland 10
Massive scrum from the All Blacks and Kane Hames - who's come back on with Crockett in the bin - does brilliantly to turn the scrum. The seven man scrum of the All Blacks holds firm to get out of danger.
73 mins: All Blacks 22 Scotland 10
Scotland again camped on the All Blacks' tryline. They get a penalty for a knock=on against Barrett, who's lucky not to be shown another yellow for cynical play. The hosts opt for the scrum right in front of the posts.
71 mins: All Blacks 22 Scotland 10
Yellow card! More repeated infringements for the All Blacks sees Wyatt Crockett earn himself time in the bin! Just minutes away from Sam Cane's return and the All Blacks will finish this match with just 14 men.
68 mins: All Blacks 22 Scotland 10
TRY!!! Perenara feeds the scrum once more and this time the All Blacks break! Sonny Bill Williams finds a gap and breaks, before pasing back inside to McKenzie. From there McKenzie finds Barrett, who isn't going to be caught, sprinting though to score the All Blacks' third try of the second half.
Barrett lines up to convert his own try, and he's got it easily! The All Blacks restore their 12 point lead.
66 mins: All Blacks 15 Scotland 10
All Blacks scrum, and Perenara comes off the bench to feed. Scotland's front row give away another penalty and the All Blacks opt for another scrum to run the clock down until Cane comes back. The referee calls for a reset, this is good for the 14-men All Blacks, just over five minutes until Cane comes back.
63 mins: All Blacks 15 Scotland 10
TRY!!! Scotland break through with their numerical advantage! Jonny Gray picks and goes from close range and the big lock proves too much for the All Blacks to handle.
Russell takes the kick from wide on the left, and he's got it! The hosts cut the deficit back to just five points.
61 mins: All Blacks 15 Scotland 3
Yellow card! Lineout for Scotland on the five metre line. Seymour goes at the line but is tackled! Scotland not dying down here! The referee blows for a penalty and Scotland take the tap quickly and Russell darts at the line. The All Blacks infringe again and Sam Cane is sent to the bin.
59 mins: All Blacks 15 Scotland 3
The All Blacks stating to find some flair now, as McKenzie sparks another counter. He finds Ioane, who finds Taylor. The hooker looks to pass back infield to Cane but Seymour inercepts! Scotland attack now! The winger is tackled and the All Blacks turn the ball over for Barrett to clear. This game has exploded into action in the second spell!
53 mins: All Blacks 15 Scotland 3
TRY!!! Lineout for the All Blacks and Taylor finds Cane. The All Blacks drive before the ball comes out to Smith. Sonny Bill Williams runs flat at the line, before putting a perfect kick through for McKenzie, who pounces on the bouncing ball to score for New Zealand!
Barrett makes the kick and the All Blacks are coming to life in the second half.
50 mins: All Blacks 8 Scotland 3
Play is bought to a stop as a Scotland player is down injured. It's the debutant Luke Hamilton who's down, he's taken from the field on a stretcher to bring his night to a close.
47 mins: All Blacks 8 Scotland 3
TRY!!! Rieko Ioane breaks upfield and puts Codie Taylor through! The hooker is tackled and the All Blacks reorganise, Barrett takes the line on but is tackled, Aaron Smith goes down the blindside, and the All Blacks go wide, Codie Taylor is unmarked out on the wing and is found with a pass from Ioane again and the All Blacks score!
Barrett lines up the kick, but it drifts to the right!
43 mins: All Blacks 3 Scotland 3
Aaron Smith knocks the ball on and Scotland have a scrum right in front of the All Blacks' posts. Price feeds and Scotland attack! Seymour runs at the line and Scotland are five metres out. Sam Whitelock is powerful in defence and wins the turnover in front of his own tryline. Massive defence from the All Blacks, but neither side taking their chances so far in Edinburgh.
41 mins: All Blacks 3 Scotland 3
Finn Russell kicks off and the second half is underway!
The All Blacks are back out on the field. Scotland still in the sheds - they can sense a famous win on the cards in Edinburgh tonight.
No changes for Steve Hansen's men at the break.
HALFTIME: All Blacks 3 Scotland 3
The All Blacks win the lineout and look to drive upfield, but Romano's penalised for leaving his feet at the breakdown. Scotland kick the ball out to bring a try-less first half to a close.
42 mins: All Blacks 3 Scotland 3
Codie Taylor knocks the ball on, and the All Blacks throw possession away once more. Scotland opt for the lineout in added time. The hosts drive upfield towards the All Blacks' tryline, Russell back in the pocket for the drop goal before the break. His kick is nowhere near and McKenzie looks to counter!
Rieko Ioane has the ball for his first proper run of the match but Scotland give away a penalty!
39 mins: All Blacks 3 Scotland 3
Penalty! Barclay goes in off his feet at the ruck to give away a penalty and this time the Read and Barrett point to the posts. Barrett lines up his first kick of the match, and he's smashed it down the middle!
37 mins: All Blacks 0 Scotland 3
Scotland fumble the ball behind the posts, giving the All Blacks a scrum on the opposition try line. Smith feeds and the All Blacks win a penalty straight away. The All Blacks feed again but Scotland win it! This is incredible defence from Scotland!!!
31 mins: All Blacks 0 Scotland 3
The All Blacks are camped on their own tryline at the moment, Scotland going through 19 phases in their attempt to score here - but they've spilled it! Handling errors hurting both sides so far. Scrum to the All Blacks.
29 mins: All Blacks 0 Scotland 3
Damian McKenzie puts a kick up after Scotland clear the ball. Stuart Hogg takes the ball but Naholo's smashed him in the air! This could be very bad. Was Hogg on the ground when he was tackled? Hogg was shielded by Price, so Naholo couldn't see the fullback until he hits him.
The TMO looking at replays, it looks like Naholo's been very lucky here. He won't be shown a card after Price's block.
27 mins: All Blacks 0 Scotland 3
The referee has the arm out for advantage to the All Blacks, play stops and the All Blacks choose the lineout rather than taking the points. This is the first time the All Blacks have had the ball in Scotland's 22.
Taylor throws, and Read wins it. Sam Cane has the ball and the forwards surge towards the tryline. Kane Hames goes close, but is tackled. Cane goes at the line now but can't get through. The backs are calling for it and Barrett has it! He looks to find Crotty but throws a forward pass! Golden opportunity wasted for the All Blacks and Scotland's defence passes their first test.
24 mins: All Blacks 0 Scotland 3
Price puts a box kick over the All Blacks defence and forces a lineout on the 10m line. Codie Taylor throws, and the All Blacks look to run the ball from inside their own half. Barrett clears the ball and it's not out, but Seymour spills it! The All Blacks with another lineout, this time in Scotland's half.
21 mins: All Blacks 0 Scotland 3
Another penalty against the All Blacks, this time against Laulala for incorrectly joining the ruck. Russell finds touch and Scotland have a lineout on the All Blacks' tryline.
They work the ball up towards the posts through the forwards, before moving the ball out the back to Russell! Scotland can score here but they've knocked it on!!! The All Blacks get out of jail.
19 mins: All Blacks 0 Scotland 3
Smith feeds and the All Blacks attack again. Scotland on the front foot in defence though and they've won a penalty! The hosts have a lineout inside the All Blacks' half.
17 mins: All Blacks 0 Scotland 3
Sam Cane does brilliantly for the All Blacks to win a penalty inside his own half. Beauden Barrett finds touch and the All Blacks will have a lineout inside Scotland's half. Barrett nearly slices through Scotland's line from the set piece, before Read works the ball upfield.
The All Blacks continue to surge upfield, but Scotland turn it over before knocking it on themselves! Scrum to the All Blacks.
14 mins: All Blacks 0 Scotland 3
Fifita is penalised for not rolling away at the breakdown. Scotland are looking solid early on. Russell will have another shot at goal, this one's not on target though - pushed away to the left. The All Blacks have the restart.
11 mins: All Blacks 0 Scotland 3
The All Blacks have a scrum inside their own half after a Scotland knock on. Ryan Crotty breaks through the line after a smart bit of work from Sonny Bill Williams. Beauden Barrett is hammered by his opposite and Scotland have the ball again, Russell kicks into the corner and that's brilliant to give the All Blacks a lineout on their own five-metre line.
8 mins: All Blacks 0 Scotland 3
Penalty! Scotland moving the ball at pace and the All Blacks can't keep up! Naholo gives away another penalty and Scotland have a great chance for the first points of the match. Russell lines up the kick and he's got it! Scotland ahead by three.
5 mins: All Blacks 0 Scotland 0
The All Blacks win the scrum, Aaron Smith clears the ball down field with a huge box kick and Scotland have a lineout. They break from their own set play but spill the ball, the All Blacks lose possession too and Scotland kick for touch.
Russell sees the ball over the touch line for an All Blacks lineout.
2 mins: All Blacks 0 Scotland 0
Penalty to Scotland straight away, against Waisake Naholo for obstruction. Scotland will have a lineout in a great attacking position. They drive towards the All Blacks' line but Vaea Fifita's turned the ball over! Great work from Fifita and the All Blacks will have a scrum.
KICK OFF: All Blacks 0 Scotland 0
Beauden Barrett gets things underway and Scotland will attack first up.
Scotland legend Doddie Weir delivers the match ball, Murrayfield - as well as both sets of players - applaud his bravery, with the 61-Test lock battling Motor Neurone Disease.
Time for the haka. Scotland line up in formation to face it, while the crowd continue to sing - before going silent.
TJ Perenara leads ka mate, and the crowd are vocal to drown the haka out. Murrayfield is up for this match.
Flower of Scotland is next, with next to everyone in attendance at Murrayfield singing along. Incredible scenes in Edinburgh.
Both sides out on the park, time for the anthems. God Defend New Zealand is first up for the visitors.
Everything's looking good to go at Murrayfield, with the stadium lights switched off ahead of both teams' arrival onto the pitch.
After a game of two halves in the 38-18 win over France in Paris, the All Blacks move on to Scotland, for their penultimate match of 2017.
Since the two sides first played one another in the 1905 season, New Zealand and Scotland have faced off in 30 Test matches, with the All Blacks winning 28 and drawing two.
Today, they'll hope to keep that record intact, with coach Steve Hansen naming his strongest possible side to take on a Scotland side on the improve.
Just two changes have been made to the side that took on France, with Codie Taylor starting at hooker, while Liam Squire replaces Scott Barrett on the bench.
All Blacks: 15. Damian McKenzie, 14. Waisake Naholo, 13. Ryan Crotty, 12. Sonny Bill Williams, 11. Rieko Ioane, 10. Beauden Barrett, 9. Aaron Smith, 8. Kieran Read (c), 7. Sam Cane, 6. Vaea Fiifta, 5. Sam Whitelock, 4. Luke Romano, 3. Nepo Laulala, 2. Codie Taylor, 1. Kane Hames.
Reserves: 16. Nathan Harris, 17. Wyatt Crockett, 18. Ofa Tu'ungafasi, 19. Liam Squire, 20. Matt Todd, 21. TJ Perenara, 22. Lima Sopoaga, 23. Anton Lienert-Brown.
Scotland: 15. Stuart Hogg, 14. Tommy Seymour, 13. Huw Jones, 12. Alex Dunbar, 11. Lee Jones, 10. Finn Russell, 9. Ali Price, 8. Cornell du Preez, 7. Hamish Watson, 6. John Barclay (c), 5. Jonny Gray, 4. Ben Toolis, 3. Zander Fagerson, 2. Stuart McInally, 1. Darryl Marfo
Reserves: 16. George Turner, 17. Jamie Bhatti, 18. Simon Berghan, 19. Grant Gilchrist, 20. Luke Hamilton, 21. Henry Pyrgos, 22. Pete Horne, 23. Byron McGuigan