In 1968, Paul McCartney, with contributions from John Lennon, wrote the song "Hey Jude." For whom did McCartney write this song?

Culture Trivia: In 1968, Paul McCartney, with contributions from John Lennon, wrote the song "Hey Jude."  For whom did McCartney write this song?