They pushed them all the way back into Troy but Hector refused to accept defeat and kept fighting. Hector understood he or Achilles would die so he offered to take his dead body to his family and friend and he shall do the same. But Achilles refused to do so, this caused Hector to rush at Achilles. Athena had tricked Hector so no matter what he would die. Then Achilles kills hector. Which ends the war for 9 days for Hectors funeral. After Achilles abuse the dead body.
This was for my best friend
Then Odysseus knew the Greeks could never win by attacking from the outside. They need to get inside and defeat them. He has an amazing idea of a giant hollow wooden horse that he will fill the Greek army in. Once created they put everyone inside and put it in front of troys gates. The Trojans accepted it as a gift and took it into Troy. The Greeks waited till night to attack, they opened the gates for the rest of the Greek army and attacked. They started to burn houses down and brought down Troy from the inside. Aeneas got away and Aphrodite brought Helen to Menelaus. Then the war ended.