|LV= County Championship Division Two, Swansea (close, day three)|
|Glamorgan 299 & 224 Ingram 45; Payne 4-50|
|Gloucestershire 416: Marshall 70, Howell 67; Meschede 4-89|
|Glamorgan 4 pts, Gloucestershire 7 pts|
|Gloucestershire require 108 runs to win|
Gloucestershire have victory over Glamorgan in their sights after being set a target of 108 to win.
Having resumed on 301-6 the visitors were all out for 416, a lead of 217.
The early loss of Jacques Rudolph and Will Bragg started Glamorgan's second innings off badly and another double dismissal - Graham Wagg and Mark Wallace - eroded the middle order.
And the hosts were finally all out for 224 leaving the visitors a small target to win and a day in which to get it.
A two run overnight lead for Gloucestershire was built upon thanks to a strong tail end performance, with 44 from Jack Taylor and an unbeaten 37 by Tom Smith, and then three early wickets left Glamorgan's reply hamstrung from the outset.
With the score on 25 Bragg was the victim of a questionable lbw call, but there was no doubt when Rudolph followed him without adding to the score, caught behind, and when Aneurin Donald's dismissal made the score 32-3, things looked perilous for Glamorgan.
Top scorer Colin Ingram's 45 helped steady the ship, before a second double fall of wickets saw Glamorgan's score go from 131-6 to 132-8.
That made Andrew Salter and Michael Hogan's half century final wicket stand all the more valuable, but it was seemingly only delaying an inevitable Gloucestershire victory.