Originally Posted by wikipedia
Black Adam is an ancient Egyptian named Teth-Adam (i.e., "Mighty Human"), who is chosen by the wizard Shazam to be his successor due to his presumed moral purity.[7] This story is reprinted in DC's Shazam! #8 (1973), which is his first appearance in the Bronze Age.
Black Adam's origin, as seen in The Marvel Family #1 (1945). Art by C. C. Beck and Pete Costanza
When Teth-Adam says the magic word "Shazam", he is transformed into Mighty Adam, a super-powered being possessing the same powers that Captain Marvel would later be granted; however, Mighty Adam is soon corrupted by the vastness of his powers. Originally, the wizard Shazam grants Adam powers derived from ancient Greco-Roman deities; later in the series, it was changed to ancient Egyptian deities.
Deciding that he should rule the world, Mighty Adam overthrows and kills the pharaoh and assumes the Egyptian throne. Angered by this betrayal, Shazam renames his errant champion Black Adam and—unable to revoke the powers he gave Adam—banishes him to the most distant star in the universe.
Black Adam spends the next 5,000 years flying back to Earth. By the time he makes it back, in 1945, Shazam has appointed three new champions to take his place: Captain Marvel, Captain Marvel Jr., and Mary Marvel.