Sauron was a maiar who first served the smithing God, Aule, who made the dwarves, and at this time in Valinor his name was Mairon, meaning admirable. It was only after he joined up with Melkor that he became known as Sauron, or Gorthaur (by the Sindar elves).