ashwamedha yagna/yaga is a ceremony in which a king sets his horse on a long ride. the territory travelled by horse then belongs to the king. if any king tries to stop the horse, battle takes place between the two. the winner takes it all. it is till today, performed by only lord rama.