Ben Stokes hit his first century as England's full-time test captain to push his team into a commanding position against South Africa in the final session of Day 2 of the second test at Old Trafford on Friday.

Stokes made 103, for his 12th test hundred for England, before getting out just after tea to leave the team on 320-6 in reply to South Africa's 151 all out.

Stokes put on a sixth-wicket partnership of 173 with wicketkeeper Ben Foakes.

England led by 169 runs at the time of Stokes' dismissal.