In Greek mythology, the Greeks were besieging the city of Troy but could not break the Trojans' resistance. Then they built a huge wooden horse, in which they hid dozens of warriors. They gave it to the Trojans as a gift, which the Trojans accepted. Once inside the city, the warriors poured out of the horse and captured Troy.