From Video Game Music Preservation Foundation Wiki
Ending BGM features a fanfare melody with bass accompaniment.
The title comes from the Famicom 20th Anniversary Original Sound Tracks Vol.1 album.
Super Mario Bros. (NES)
Ending BGM plays when you finally defeat King Koopa in world 8 and rescue the princess.
Nintendo World Championships 1990 (NES)