Starswirl the bearded was an extraordinary stallion, who strived to better life in his homeland of Equestria. During an experiment ,whilst trying to find a new, more energy efficient method of teleportation that was open to all races and not just unicorns, he was killed when the portal he had built collapsed behind him, leaving a solid mirror in its place.
Or so the story goes.