Tom Latham’s battling century frustrated Gloucestershire’s bid to take control of their County Championship match with Durham on the second day at Cheltenham.

The visitors’ stand-in skipper hit an unbeaten 120, off 239 balls with 19 fours, remaining rock solid as his side slipped to 105 for four in reply to the home team’s 362 all out.

Thanks largely to Latham’s first ton of the season, Durham were able to close on 219 for five, but still trailed by 143 Ben Stokes could contribute only three off 31 deliveries after completing figures of five for 52 from 25 impressive overs in Gloucestershire’s innings.

Durham’s other England bowler, Mark Wood, was still feeling the effects of a foot injury suffered on day one and was unable to bowl.

Latham said: "It was good to go into the game with some white ball form behind me. I scratched around a bit to start with, but as time went on I got into some rhythm.

"There is still a lot of work to do, but I am pleased to have contributed and that we are still in the game. It's important we build on our score in the morning.

"Mark Wood has a sore heel and we hope to give him a bit more time with his feet up by batting well tomorrow. It's too early to say whether he will bowl in the second innings, but we don't think it is anything serious."

The day began with the hosts 315 for seven. Stokes claimed two of the last three wickets, but could not prevent Craig Miles (21) and David Payne (19 not out) securing a fourth batting point.

Miles was dropped at gully on 13 off Stokes, who went on to uproot his off stump and then have Matt Taylor caught at point off a leading edge. Matt Salisbury had last man George Drissell caught behind off an attempted pull shot to end the innings.

By lunch Durham were 39 for no wicket, Latham dominating the opening stand with Cameron Steel, who fell for 13 soon after the interval with the total on 46.

Looking to withdraw the bat from a Craig Miles delivery, Steel appeared to glove it through to wicketkeeper Gareth Roderick.

Will Smith could make only eight before departing lbw to Miles in the 24th over and Graham Clark, who had survived a tough chance to slip on nine, followed for 18, leg-before looking to clip Matt Taylor through the on-side.

Latham went to his half-century off 117 balls, but the 26-year-old New Zealander was made to fight hard by some accurate Gloucestershire bowling.

Stokes was pinned down in uncharacteristic fashion until attempting to break loose with a drive off Kieran Noema-Barnett and edging the medium pacer to Chris Dent at second slip.

At tea Durham were 115 for four, but Latham and Michael Richardson carefully went about repairing the damage, adding 66 for the fifth wicket before Richardson, on 21, carelessly pulled a Ryan Higgins long-hop straight to Benny Howell at mid-wicket.

It could have been worse for the visitors as Miles Hammond spilled a straightforward catch at mid-wicket off Drissell to give Stuart Poynter a life before he had scored.

Latham brought up a workmanlike and disciplined hundred with a fine extra-cover drive off Miles for four and Poynton settled in to be unbeaten on 21 at the close.