The world-famous author of the Harry Potter books and the MP for Mid Bedfordshire went head-to-head on Twitter today in the latest spat sparked by Thursday’s EU referendum.

https://twitter.com/jk_rowling/status/745226164436934660

After none other than David Beckham announced he was backing the Remain campaign earlier today, Nadine Dorries took to the micro-blogging site to tweet: “Super rich, often LA based Beckham thinks if we leave #EUref Danish/Irish won’t be able to play for England anymore *facepalm* #VoteLeave.”

This sparked a response from Harry Potter creator JK Rowling, who tweeted: “Know your place, successful working class boys. Don’t start thinking you can have opinions just because you made it.”

https://twitter.com/jk_rowling/status/745227533818470400

Ms Dorries, who has nearly 30,000 followers on Twitter, told the author that she lived on a working-class council estate in Liverpool until her mid-adult years.

JK Rowling tweeted back: “Then you should be applauding and enabling social mobility, not sneering when it happens.”

https://twitter.com/NadineDorriesMP/status/745229784356130816

The exchange continued with both women reaffirming which camp they were in.

Ms Dorries tweeted: “That’s why I want to protect borders and prevent cheap labour from suppressing the wage of struggling on my estate #VoteLeave.”

And the Harry Potter creator, who has 7.5m followers, said to Ms Dorries: “You’re selling the desperate a lie. Experts concur Leave will severely impact jobs. Yours will be safe, though, eh? #Remain.”

After the spat played out Ms Dorries tweeted: “So, @jk_rowling made me late for an app Not going to get the chance to say that very often am I? She can say do no wrong though #VoteLeave.”