Marvin Hamlisch, who composed the scores for dozens of films including The Sting, has died aged 68.

Hamlisch collapsed and died yesterday in Los Angeles after a brief illness. Other details were not released.

Hamlisch's scores helped define some of Hollywood's most enduring works, with the composer winning every major award in his career, including three Academy Awards, four Emmys, a Tony and three Golden Globes.

Hamlisch, known for his thick black glasses, composed more than 40 film scores, including Sophie's Choice, Ordinary People and Take the Money and Run. He won his third Oscar for his adaptation of Scott Joplin's music for The Sting.

On Broadway, he was behind long-running favourite The Chorus Line and also wrote The Goodbye Girl and Sweet Smell of Success.

Although he was one of the youngest students ever at the Juilliard School of Music, he never studied conducting. "I remember somebody told me, 'Earn while you learn,"' he said in 1996.

He also made a successful foray into pop music, writing the number one US hit Break It to Me Gently with Carole Bayer Sager for Aretha Franklin.

He also won the 1974 Grammys for best new artist and song of the year, The Way We Were, sung by Barbra Streisand.

He is survived by his wife of 25 years, Terre.