Rock Of All Ages, sometimes titled as Rock Of Ages, was written by Tom Evans, Pete Ham, Mike Gibbins, and Paul McCartney. It is credited to Tom-Pete-Mike. It was recorded by Badfinger in 1969. It was recorded at IBC Studios in London and was produced by Paul McCartney. The recording features Paul McCartney on piano and backing vocals. It was released as the B-side to Come And Get It in 1969. The song was used in the 1969 movie The Magic Christian starring Peter Sellers and Ringo Starr. Rock Of All Ages was also released on the album Magic Christian Music in 1970.