Shazam was the original Captain Marvel. Here was a whole issue regarding the hero to a point where they couldn’t use the name Captain Marvel. Then Marvel comics gained the right to use the name