"The End" is a song by the Beatles composed by Paul McCartney (credited to Lennon-McCartney) for the album Abbey Road. It was the last song recorded collectively by all four Beatles, and is the final song of the medley that comprises the majority of side two of the LP version of the album.