Knockin on Heavens Door was written for the soundtrack of the 1973 movie Pat Garrett & Billy the Kid. The lyrics narrate the resignation of a dying sheriff who is removing his badge for the last time. The song became one of Bob Dylans most famous works and has been covered by countless artists across various music genres.