Author J.K. Rowling on Wednesday poked fun at Alabama Republican Senate candidate Roy Moore's stunning defeat, saying the victory shows God is a black woman.

"Narrator's voice: Roy was right. God was in control. What he didn't realize was, She's black," Rowling tweeted on Wednesday.

Narrator's voice: Roy was right. God was in control. What he didn't realise was, She's black. https://t.co/pCpVifXgbq — J.K. Rowling (@jk_rowling) December 13, 2017

Rowling was retweeting a video of Moore refusing to concede the race on Tuesday, in which he told his supporters "we also know that God is in control."

Roy Moore refuses to concede, says "we also know that God is in control" https://t.co/1sJSZehJKH https://t.co/IXqp0xvnhB — CNN (@CNN) December 13, 2017

Exit polls showed that black women played a significant roll in Moore's loss to Democrat Doug Jones, who became the first Democrat to represent Alabama in the Senate in 25 years.

The Washington Post’s exit poll showed that 98 percent of black women supported Jones; black women made up 17 percent of overall voters in the race.

ADVERTISEMENT

Exit polls also found that 93 percent of black men voted for Jones.

However, the majority of white voters appear to have supported Moore, with 72 percent of white men and 63 percent of white women voting for Moore.

Moore faced intense scrutiny over the election due to the numerous sexual misconduct allegations against him, as well as his past controversial remarks on religion and homosexuality.

He has yet to concede the race.