"Her Majesty" is a song written by Paul McCartney (although credited to Lennon–McCartney) that appears on the Beatles' album Abbey Road. It is a brief tongue-in-cheek music hall song. "Her Majesty" is the final track of the album and appears 14 seconds after the song "The End", but was not listed on the original sleeve. As such, it is considered one of the first examples of a hidden track in rock music.The song is notably one of the few tracks by the Beatles to directly refer to Queen Elizabeth II, the others being "Penny Lane" (released as a single and later included on the U.S. Magical Mystery Tour album) and "Mean Mr. Mustard" (also from Abbey Road). Recording Edit The song was recorded in three takes on 2 July 1969, prior to the Beatles beginning work on "Golden Slumbers/Carry That Weight". McCartney sang and simultaneously played a fingerstyle acoustic guitar accompaniment. The decision to exclude it from the Abbey Road medley was made on 30 July. The song runs only 23 seconds, but the Beatles also recorded a longer version of the song during the "Get Back" sessions.