A peculiar verse in the Yajurvedic Ashvamedha tells us that in the sacrifices that were performed by the devas, Agni was the horse, and he conquered the earth (23/17). The idea of using the Ashvamedha horse for extending the rule to the neighbouring territories arose from this.