Kevin Pietersen faced the prospect of disciplinary action after announcing via social networking site Twitter he'd been dropped from England's squad for the upcoming Twenty20 and one-dayers gainst Pakistan.
The news was confirmed several hours later when the squads were announced formally by the England and Wales Cricket Board (ECB).
Pietersen could be in trouble for revealing squad details before the official announcement, with an ECB spokesman telling AFP: "We are considering the circumstances surrounding it (Pietersen's Twitter post)."
The 30-year-old batsman was clearly unhappy at the decision telling followers on his account kevinpp24: "Done for rest of summer!! Man of the World Cup T20 and dropped from the T20 side too. It's a fxxx up."
In a post cut short, seemingly because of Twitter's 140 character limit, Pietersen added: "Surrey have signed me for l ... (blank)."
But Pietersen's season was far from "done". The ECB announced he would spend the rest of the season on-loan at Surrey and he will be available for their 40-over match at home to Worcestershire at The Oval on Wednesday.
England have asked Hampshire, Pietersen's county side, to play him in a couple of fixtures this season. But with Pietersen having made it clear he would be leaving Hampshire at the end of the season, the southern side have refused to select the South Africa born batsman.
In the ECB squad announcement statement, Pietersen was in far more conciliatory mood than he had been in his Twitter post.
"While I'm naturally disappointed to have been omitted from the England squad I fully understand the reasons why and will be doing everything I can to get back into the England team.
"I have no issue with the selectors omitting me from the limited overs squads and my sole focus now is working on my game ahead of an exciting winter," he added ahead of England's defence of the Ashes in Australia. "I would also like to add my huge thanks to Surrey for giving me this opportunity and I hope I can repay them with some runs."
Guardian adds: Kevin Pietersen has apologised for the foul-mouthed tweet which followed his omission from England's Twenty20 and one-day international squads to face Pakistan.
The South Africa-born batsman's poor form resulted in him being dropped yesterday for the England squads to take on the tourists in five ODIs and two T20s.
“It came out in the way that I didn't want it to come out," Pietersen told Surrey TV. "It was something that wasn't meant for the public domain and I apologise for it."