Ben Stokes' reinstatement as England vice-captain ahead of this summer's Ashes came after he pleaded directly to Tom Harrison, the ECB chief executive, according to details in his new autobiography.

Stokes, who was stripped of the role in the wake of the incident outside a Bristol nightclub two years ago, missed England's tour of Australia in 2017-18 as he awaited police charges following his arrest.

However, going into this summer's Ashes, and with his stock in the side restored following a series of eye-catching performances, both in the field and in training, Stokes decided he had "nothing to lose" in sending a text message to the ECB chief asking to be made Joe Root's deputy once again.

"Of the punishments I'd received in the aftermath of the Bristol incident, losing the Test vice-captaincy was what hurt the most," Stokes wrote in his book, On Fire.

"So I decided I would take the plunge. I sent a text message to Tom Harrison to inform him that I wanted to be Joe Root's deputy once more. It certainly left him in no doubt how much I wanted things to revert to how they were previously.

"Forty-eight hours later, I had Ashley Giles, the England managing director, in contact to offer me the position once more.

"My reaction to being told that I had been reinstated was no more than 'Cool'. But it meant the world to me. Believe me."

Harrison's willingness to trust Stokes in a position of responsibility again perhaps stems from his comments soon after the Bristol incident, when he declared his desire to see England's star player "rehabilitated in the field".

It followed, too, a glowing report from the then-England coach Trevor Bayliss on the tour of Sri Lanka last year, when Stokes had to be persuaded to ease up on his own training in the humid conditions.

The restored responsibility clearly had the desired effect for Stokes, whose century in the third Test at Headingley was hailed as one of the greatest Test innings of all time after England chased a stiff target of 359 to pull off a remarkable one-wicket win.

In spite of his desire for greater responsibility within the team, Stokes is adamant that he wants to be Root's right-hand man, rather than a captaincy rival - as he showed in the wake of England's series-squaring win at The Oval when he threw his weight squarely behind Root's leadership while accepting his Man of the Series award.

"It [the England captaincy] is not an aspiration for me, currently," Stokes said in a subsequent interview with the Times "It's not something that I could ever say no to and it would be a great honour to be asked to do it, but right now it's not an aspiration.

"Joe Root is England captain and there is no one else better in the country to do the job. You could never say no to it, though. I hope it doesn't happen and I hope Joe doesn't lose it. I've got a very close relationship with Joe on and off the field and I could see the strain he was under."

The man who made way for Stokes as vice-captain was Jos Buttler, who also performs the same role to Eoin Morgan in the white-ball squad. However, he did not seem to be put out by the demotion when quizzed on the subject earlier this year.

"When I did it last summer … they said to me in time they'd like Ben to do the role again when he can, so I was very aware that was the situation and natural thing to happen," he said. "I'm delighted for Ben to be reinstated as vice-captain and it doesn't really change a lot for me: I'm always willing to offer advice and I'm there if Joe wants to talk to me, as are a lot of other players in the team as well who aren't vice-captain. It doesn't change a lot."