With reference to the ancient Roman practice of selling captured slaves and booty at a public auction, the location of which was marked by a spear stuck in the ground..
Origin
Early 17th century; earliest use found in Clement Edmondes (?1568–1622), government official. From classical Latin sub hastā from sub + hastā, ablative of hasta spear.