Who was Mithras?

The ancient god Mithras was the god of the sun, light, war, fertility and the cosmos. He was a warrior god and often referred to as the unconquered sun.