A five-wicket haul from veteran spinner Dean Cosker helped Glamorgan remain in touch with Gloucestershire after day two of their LV= County Championship Division Two clash at the SWALEC Stadium.
The visitors looked on course to rack up an imposing first-innings lead, even after being frustrated by a battling 54 from Graham Wagg which took the hosts to 145.
Chris Dent made 52 and Will Tavare 42 as Gloucestershire’s reply started well, but they came unstuck against the 36-year-old left-arm spinner.
Cosker completed his 10th first-class five-wicket haul, ending with 5-46 as Glamorgan limited their opponents to 230 for nine, a lead of 85.
There looked to be little way back for Glamorgan as they slumped from 47 for six at the start of the day to 72 for nine, but a final stand of 73 between Wagg and number 10 Michael Hogan helped them rebuild their innings.
Wagg hit five fours and a six in his unbeaten 65-ball knock, with Hogan providing vital support at the other end of 23, which came from 46 balls.
10th first-class five wicket haul for Cosker #lurks#evergreen
— Glamorgan Cricket (@GlamCricket) April 21, 2014
The tailenders’ stand was finally ended by Matt Taylor, while David Payne and Will Gidman finished with figures of 3-29 and 3-34 respectively.
With an easy-paced pitch becoming ideal for batting, Gloucestershire would have fancied their chances of building a commanding lead and looked set to do just that as Dent and Tavare took their score into three figures for the loss of just one wicket, that of Michael Klinger for two.
But Cosker arrived with a vengeance to halt their progress.
He had Dent caught behind by Mark Wallace, ending his 72-ball stay, and then removed Tavare, who paid the price for an injudicsious shot, sending an attempted clip over Hogan at mid-on straight to the fielder.
The veteran was making full use of his 18 years’ experience of the county game, varying his deliveries intelligently, and had a third victim when trapping Alex Gidman lbw for 12.
The dismissals of Will Gidman and Hamish Marshall gave Cosker his five-for, although the latter's 32, which included two maximums, helped the visitors recover from 144 for six.
Marshall shared a partnership of 42 for the seventh wicket with Tom Smith, who finished the day unbeaten on 38.