Yorkshire’s Jonny Tattersall said: “We got the runs we wanted on the board and we’ve given ourselves enough time, so hopefully we get the rewards in the morning.

“It’s not ideal if we have to go back out and chase (a fourth-innings target), but if we have to chase 100 runs we’re sure we can get over the line.

“We’ve had a bit of luck in this game, we didn’t get it in the last game so it’s swings and roundabouts and we’ve taken our chances. They’ve got two great players (Northeast and Ingram) at the crease, but hopefully we can get rid of those and it might happen quite quickly.

“I’m feeling good with the bat, my opportunities have been slim with this line-up but there was a job to do and I kept applying the pressure.”

Glamorgan’s Mason Crane told BBC Sport Wales: “It’s been a tough match but it’s not over, we’re in a good position to save the game and who knows there could be a bit of fun at the end.

“There were some amazing shots, Bean played particularly well and Root is beyond world-class, they came hard at me and I had to stick to it.

“I’m proud of the way I kept going, a few years ago I would have struggled with that but you’ve got to hang in and you get your rewards towards the end.

“Someone’s got to stick their hand up and bowl some tough overs, I had to take my medicine a bit but it’s about resilience.”