The Ashwamedha yajna or the horse sacrifice was a major ritual in ancient India. In this sacrifice, a horse was let loose and wandered into other kingdoms. If a king of another kingdom stops the horse, the king who set the horse free wages a war against him.