McCartney originally wrote the song at his farm in Scotland, inspired by the growing tension between The Beatles at the time. McCartney said later: "I just sat down at my piano in Scotland, started playing and came up with that song, imagining it was going to be done by someone like Ray Charles. I have always found inspiration in the calm beauty of Scotland and again it proved the place where I found inspiration."[1] (Ray Charles covering this song can be heard on the posthumously-released 2006 album Ray Sings, Basie Swings.)
Although McCartney was the sole writer of the song, like all Beatles songs written by him or John Lennon, it would be credited to "Lennon/McCartney" by long-standing