At the age of 25 Sondheim wrote the lyrics to West Side Story, accompanying [Leonard Bernstein]?'s music and [Arthur Laurents]?'s book. In 1959 he wrote the lyrics to the musical Gypsy, which had music by [Jule Styne]? and a book again by Laurents. Finally in 1962 Sonheim saw a musical for which he wrote both the music and lyrics, [A Funny Thing Happened on the Way to the Forum]?, open on Broadway. His next musical, Anyone Can Whistle, was a financial failure, though it has developed a cult following. He subsequently wrote lyrics only to one more show, [Do I Hear a Waltz]?, with music by [Richard Rodgers]?, and from then on provided both music and lyrics to a series of critically acclaimed musicals: