The famous Trojan Horse was used by the Greeks to gain entry into Troy.

According to ancient Greek history, the Trojan horse allowed the war-weary Greeks to enter the city of Troy and finally win the Trojan war. Legend has it that the horse was built at the behest of Odysseus, who hid inside its structure along with several other soldiers to ultimately lay siege to the city.

Source