Image copyright AP Image caption Sly Stone, along with James Brown and Parliament-Funkadelic, were pioneers of late 1960s and early '70s funk

The 1960s funk legend Sly Stone has been awarded $5m (£3.3m) in missed royalties by a Los Angeles court.

The singer claimed his former manager, Gerald Goldstein, and lawyer, Glenn Stone, had cheated him out of earnings dating back more than 20 years.

"They wanted to punch this poor guy in the face," Stone's defence lawyer, Nicholas Hornberger, said after the verdict.

The 71-year-old is famous for hits like Dance to the Music and Everyday People.

The singer first brought action against Mr Goldstein and Mr Stone, along with their affiliated entertainment company, Even St Productions in 2010.

The jury decided in the musician's favour on Tuesday after two days of deliberation.

Mr Hornberger said the jury would have been justified in awarding even more money.

Image copyright AP Image caption Sly and Family Stone performed at the Grammy awards in 2006

"The case illustrated how many artists in the music business, as well as the film industry, are victimised by the people who they trust to look after their interests," he said.

The jury awarded $2.5m (£1.7m) in damages against Even St Productions, $2.45m (£1.5m) against Mr Goldstein and $50,000 (£33,000) against Mr Stone.

The singer had claimed he did not receive any royalty payments between 1989 and 2000, and alleged his former manager diverted the money to live a lavish lifestyle.

Defending lawyer Gregory Bodell contended the musician received as much as $9m (£5.9m), but broke a 1988 agreement to make new records as part of a plan to revitalise the singer's career.

"We are very disappointed with the jury verdict. We believe the evidence does not support the number they came up with," Mr Bodell said.

"We believe the jury got it completely wrong."

Stone was the frontman for the 1960s funk group Sly and the Family Stone, who were considered pioneers of the genre.

After scoring hits with songs such as Everyday People, Dance To The Music and Family Affair, Stone went solo in 1975 and released four albums.

In 1987, the singer was arrested and sentenced for cocaine use, after which he appeared to go into retirement.

In 2011, it was reported he was homeless and living in a camper van after falling on hard times and fighting drug addiction problems.