Roston Chase led a West Indies recovery on day one of the second Test against Pakistan to put his side in a strong position.
Chase struck his second Test century and it came at the perfect time for the Windies at Kensington Oval on Sunday.
Having already lost the opener in the three-match series, the hosts found themselves struggling at 37-3 – when Chase came to the crease – and later 107-5.
But the 25-year-old battled away under pressure and was unbeaten on 131 at stumps, with captain Jason Holder (58 not out) having joined him to guide their side to 286-6 at the close of play.
Mohammad Abbas (2-47) and Mohammad Amir (2-52) had done the early damage for Pakistan, who handed a Test debut to teenage spinner Shadab Khan.
Unchanged and having elected to bat, the Windies made a shaky start before Kraigg Brathwaite fell for nine, edging Amir behind having been put down two balls earlier.
Shimron Hetmyer (1) lasted just four balls before he chased an Abbas delivery, edging to Azhar Ali, who took a good catch at third slip.
Kieran Powell and Shai Hope steadied slightly before the latter departed for five, Yasir Shah (1-83) getting turn and bounce to have him caught behind.
A review was needed to finally remove Powell (38) lbw at the hands of Amir – whose lines and lengths were good throughout – after lunch, with Pakistan's bowlers continuing to dominate.
When Vishaul Singh went for just three, Younis Khan taking a brilliant catch at slip off Abbas, the Windies were in huge trouble.
Shane Dowrich and Chase then got away with some risky running, before the former survived a desperate review for lbw.
Shadab (1-90) grabbed his maiden Test wicket by removing Dowrich (29), Younis taking another sharp catch after the leg-spinner drew an edge.
Chase had looked largely settled at the other end throughout and, along with Holder, they dominated the final session.
The right-handed Chase brought up his second Test ton with his 14th boundary, driving Shadab through cover.
Although Holder looked a little less comfortable, he brought up 50 as the pair put on an unbroken 132-run stand to finish the day and give the Windies the upper hand.