Ollie Robinson has received an eight-match ban for historic Twitter posts of a racist and sexist nature, though the England fast bowler is free to play cricket again with immediate effect.

The England and Wales Cricket Board (ECB) had suspended Robinson while investigating the social media posts which were made between 2012 and 2014.

A Cricket Discipline Commission (CDC) panel handed the 27-year-old a ban as well as a fine of £3,200 for breaching two ECB directives, though five of the eight games are suspended for two years.

Having already missed three matches, one of which was the second Test in the home series against New Zealand, Robinson is now able to resume his career.

"I fully accept the CDC's decision. As I have said previously, I am incredibly embarrassed and ashamed about the tweets I posted many years ago and apologise unreservedly for their contents,” he said in a statement.

"I am deeply sorry for the hurt I caused to anyone who read those tweets and in particular to those people to whom the messages caused offence. This has been the most difficult time in my professional career for both my family and myself.

"Whilst I want to move on, I do want to use my experience to help others in the future through working with the PCA."

Robinson's previous posts resurfaced during the opening day of his Test debut for England against New Zealand at Lord’s, in which he claimed match figures of 7-101 while also contributing 42 runs.

He took a short break from the game before returning to action, playing for Sussex Sharks in the domestic Twenty20 competition. The judgment made by the panel means Robinson is now available to be considered for England duty.

"We accept the decisions made by the Cricket Discipline Commission and the sanctions they have imposed," Tom Harrison, the ECB's chief executive officer, said.

"Ollie has acknowledged that, whilst published a long time ago when he was a young man, these historic tweets were unacceptable. He has engaged fully in the disciplinary process, admitted the charges, has received his sanction from the CDC and will participate in training and use his experiences to help others.

"Given he has served the suspension handed down by the CDC, he will now be available for selection for England again.

"We stand against discrimination of all forms, and will continue working to ensure cricket is a welcoming and inclusive sport for all."

Meanwhile, England have announced an unchanged 16-man squad for the upcoming one-day fixtures against Pakistan on home soil. That means batsman Tom Banton – who was called up midway through the ongoing series with Sri Lanka – will remain with the group.