Justin Bieber and Selena Gomez trade insults over his new girlfriend Sofia Richie

Justin Bieber

Justin Bieber and his ex, Selena Gomez, have spent the weekend trading insults on Instagram.

It all started after the Canadian singer posted a series of photos of him and his new girlfriend, Sofia Richie.

After getting abuse from some fans, he threatened to make his Instagram account private.

"I'm gonna make my Instagram private if you guys don't stop the hate this is getting out of hand," he wrote on the final picture that he posted.

"If you guys are really fans you wouldn't be so mean to people that I like."

But Selena Gomez commented below the picture telling him to stop posting photos of his girlfriend if he didn't want a backlash.

She wrote: "If you can't handle the hate then stop posting pictures of your girlfriend lol - it should be special between you two only.

Selena Gomez

"Don't be mad at your fans. They love you and supported you before any one ever did."

But after Selena's comment, Justin hit back with a cryptic message which seemed to suggest that the US singer had used him to become famous.

"It's funny to see people that used me for attention and still try to point the finger this way," he wrote. "Sad. All love."

He then posted another comment which said: "I'm not one for anyone receiving hate. Hope u all can be kind to my friends and each other. And yes I love my Believers."

Justin Bieber was in Japan over the weekend with model Sofia on his Purpose World Tour.

She's Nicole Richie's half-sister, singer Lionel Richie's daughter and she's friends with the likes of Kylie Jenner to Bella Hadid.

Justin Bieber and Selena Gomez had an on-and-off relationship from 2011 until they finally split up in 2014, although they have been spotted and photographed together several times since then.

Find us on Instagram at BBCNewsbeat and follow us on Snapchat, search for bbc_newsbeat