A brilliant spell by Yasir Shah late on day four has given Pakistan control of the first Test against West Indies in Kingston.
Yasir (4-33) dominated before stumps on Monday as the Windies were reduced to 93-4 in their second innings, still trailing by 28 runs.
Opener Kieran Powell (49) had provided the resistance before he too fell at the hands of Yasir, who made the most of a turning and uneven Sabina Park wicket.
Devendra Bishoo and Vishaul Singh, who are both yet to score, made it to stumps and have plenty of work to do if the hosts are to salvage anything from the Test.
Pakistan had resumed at 201-4 and reached 407 – a first-innings lead of 121 – although captain Misbah-ul-Haq was left stranded on 99.
Mohammad Abbas (1) was trapped lbw to leave Misbah as the first Pakistan batsman – and sixth overall – to be left not out on 99.
Although Misbah can count himself unfortunate not to make three figures, he was dropped on 18 by Singh diving forward from short leg off Shannon Gabriel (3-92).
Gabriel did pick up a wicket in his next over, however, inducing an edge behind from Asad Shafiq (22), before Misbah and Sarfraz Ahmed built a partnership of 88.
Typically, Sarfraz played the more aggressive role with 54 from 70 balls before missing with a sweep to be cleaned up by Bishoo (1-106).
Misbah brought up his 5,000th Test run in the next over and with that milestone reached he set his sights on a century with the help of the tail.
Mohammad Amir (11) and Wahab Riaz (9) came and went and when Yasir departed for eight, Misbah was still 32 short of a hundred.
However, he used all of his considerable experience to farm the strike, depositing Bishoo for a couple of sixes in the meantime, but just when it looked as though he would reach three figures Abbas was trapped in front by Roston Chase (1-37).
West Indies had only just got the deficit below 100 when Kraigg Brathwaite (14) was bowled by Yasir, who would ensure an ideal finish to the day for Pakistan.
He got a delivery to turn a long way and saw Shimron Hetmyer (20) play on to leave the Windies at 72-2.
Shai Hope (6) was the next to go, a quicker ball from Yasir trapping him in front before he wasted a review.
Powell had looked the best of the batsmen but he went in the second last over of the day, edging Yasir to Younis Khan at slip to leave the Windies fighting to save the Test.