The Trojan Horse, at Odysseus's command, was built, then filled with Greeks. It was admitted to Troy despite warnings, and the forces crept out at night and let the rest of the army in, slaughtering the Trojans and razing the city. In short, Odysseus was instrumental in winning the Trojan War.