Odysseus had the idea of giving Troy a"gift" of a wooden horse. Once they got the horse inside of Troy they would loot the land and kill men and enslave women and children. They would do thisby hiding warriors inside of the wooden
All of the warriors agreed and the greatest warriors including Odysseus and 23 other brave warriors went aboard the horse.
As the Greeces gave the gift to the Trojans the Trojans were very confused. They were debating between keeping the gift or not. Finally, they decided to keep the horse due to the Greeces saying it was a gift from the gods!
The Greeces started to "sail" away. Finally after 10 years, the Trojans didn't have the fear to go to sleep without a fight. The Greece's made sure to stay close by the Trojans and waited for the sign.
The Greece's waved a torch and signaled the others to come back and prepare for slaughtering. Once they arrived the warriors inside opened the gates and everyone began to loot and kill.
Once the Greece's got inside, they ransacked Troy by killing men, looting, and enslaving women and children. They started to sail back after a successful mission to clear out Troy. On the way back from Troy though, many die along the way, and that's a story for the Odyssey.