Leonard Bernstein composed the music for West Side Story. The lyrics were written by Stephen Sondheim.