Rock Of All 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 EMI Studios and was produced by Paul McCartney. The recording features Paul McCartney on piano. 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.