The Brhadaranyaka Upanishad (a mystical appendix to the Shatapatha Brahmana and likely the oldest of the Upanishads) has a creation myth where Mṛtyu "Death" takes the shape of a horse, and includes an identification of the Ashvamedha horse sacrifice with the Sun: