JK Rowling got into a heated exchange with a Jeremy Corbyn supporter in the wake of Labour party MPs voting overwhelmingly for a motion of "no confidence" against their leader. The Harry Potter writer joined the scores of celebrities that have weighed in on the current state of UK politics in the wake of the Brexit vote.

The drama kicked off on Twitter after a fan joked that Corbyn was "widely seen by [the user's] generation as a political Dumbledore". Albus Dumbledore was the Hogwarts headmaster in Rowling's wizardry franchise and she didn't appreciate the comparison.

"I forgot Dumbledore trashed Hogwarts, refused to resign and ran off to the forest to make speeches to angry trolls," she retorted.

But a Twitter user named Almost Dr Dan shot back: "Don't call us angry trolls. Many of us are young people, disenchanted with the current system and given hope by him."

Not one to mince her words, the fierce social media activist fired back: "Just as a matter of interest, have you ever gone without food to feed your child, Dan?"

After he accused her of being "condescending" she clarified that she doesn't actually "think all Corbynites are angry trolls" and was simply trying to establish "how desperate your need is for a functional Labour party that can be voted into power and DO things."

"I know what grinding poverty feels like and the memory never, ever leaves you. How's Labour helping those people right now?"

The Labour party has imploded in the days since the EU referedum with dozens of Labour MPs resigning from the shadow cabinet on 26 June. Many claim that Corbyn failed to effectively lead the Labour party after he kept a low profile during EU referendum. Rowling, who is a long-time Labour supporter, has made her stance clear by retweeted a number of tweets urging Corbyn to step down. However, he has refused to resign.

JK Rowling
JK Rowling has rallied behind those who believe the Labour party can't progress with Jeremy Corbyn as leaderBen Pruchnie/Getty