The team behind TLC's 1999 single No Scrubs have been given writing credits on Ed Sheeran's Shape of You.

Kandi Burruss, Tameka Cottle and producer Kevin Briggs now appear on American copyright website ASCAP's listing of the song.

Ed Sheeran and co-writers Steve Mac and Snow Patrol's Johnny McDaid were originally the only name on the page.

Kandi Burruss wrote "thank you for allowing @majorgirl (Tameka Cottle) and I to share the success" on Instagram.

It's not yet been confirmed by either party why the additional writing credits have been given.

Critics and fans have made comparisons between the melody in the pre-chorus of Shape of You and the main hook in the chorus No Scrubs since Ed Sheeran's track was first released in January.

Shape of You has spent 10 weeks at the top of the UK singles chart, while No Scrubs peaked at number three in the UK but went to number one in the US.

Ed Sheeran is currently being sued in America over claims a different track, Thinking Out Loud, rips off a Marvin Gaye song.

The family of the man who co-wrote Let's Get It On claimed it copied key parts.

Ed Townsend's relatives asked for a jury to decide if they're owed damages.

Back in June 2016, two musicians sued Ed Sheeran for $20m (£13.8m) over his single Photograph.

Martin Harrington and Thomas Leonard suggested it had a similar structure to their song, Amazing.

The pair say that Sheeran's ballad has the same musical composition to their track, which was released by former X Factor winner Matt Cardle in 2012.

Both Thinking Out Loud and Photograph cases are still pending.

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