In Greek mythology, Hectōr (Ἕκτωρ, "holding fast), or Hektōr, is a Trojan prince and one of the greatest fighters in the Trojan War. He is the son of Priam and Hecuba, descendant of Dardanus, who lived under Mount Ida, and of Tros, the founder of Troy. He acts as leader of the Trojans and their allies in the defense of Troy. Hector is one of the Nine Worthies, as he is known not only for his courage but also for his noble nature.
Hector does not approve of war between the Greeks and the Trojans. Observing Paris avoiding combat with Menelaus, he upbraids him with having brought trouble on his whole country and now refusing to fight. Paris therefore proposes a duel between himself and Menelaus, with Helen to go to the victor, and the war to stop. The duel, however, leads to inconclusive results due to divine intervention. Aphrodite leads Paris off the field. Menelaus claims a victory, but Pandarus wounds him from cover with an arrow causing the war to begin again.
The Greeks attack and drive the Trojans back. Hector must now go out to lead a counter-attack. His wife, Andromache, porting their son, Astyanax, intercepts him at the gate, pleading with him not to go out for her sake as well as his son's. Hector knows that Troy and the house of Priam are doomed to fall and that their gloomy fate will be to die or go into slavery in a foreign land. With understanding, compassion, and tenderness he explains that he cannot personally refuse to fight, and comforts her with the idea that no one can take him until it is his time to go. The gleaming bronze helmet frightens Astyanax and makes him cry. Hector takes it off, embraces his wife and son, and for her sake prays aloud to Zeus that his son might be chief after him and become more glorious in battle than he.
Hector and Paris pass through the gate and rally the Trojans, raising havoc among the Greeks. At the advice of his brother, Helenus (who also is divinely inspired), Hector, being told by Helenus that he is not fated to die yet, manages to get both armies seated and challenges any one of the Greek warriors to single combat. After the initial reluctance of the Argives to accept the challenge and after Nestor's chiding, nine Greek heroes step up to the challenge and draw by lot to see who is to face Hector. Ajax wins, and fights Hector to a standstill for the entire day, with neither able to obtain victory. At the end of the duel they express admiration for each other's courage and skill. Hector gives Ajax his sword (which Ajax would later use to commit suicide), while Ajax gives Hector his girdle (which is later used to attach Hector's corpse to the chariot on which Achilles drag him around the walls of troy)
The Greek and the Trojans make a truce to bury the dead. In the early dawn the next day the Greeks take advantage of it to build a wall and ditch around the ships.
The next day Agamemnon rallies the Greeks and drives the Trojans
The battle rages on inside the camp. Hector goes down hit by a stone thrown by Ajax, but Apollo arrives from Olympus and infuses strength into "the shepherd of the people", who orders a chariot attack, with Apollo clearing the way. Many combats, deaths, boasts, threats, epithets, figures of speech, stories, lines of poetry and books of the Iliad later, Hector lays hold of Protesilaus' ship and calls for fire. The Trojans cannot bring it to him, as Ajax kills everyone who tries.
These events are all according to the will of the gods, who have decreed the fall of Troy, and therefore intend to tempt Achilles back into the war. Patroclus, Achilles' closest companion, disguised in the armor of Achilles, enters the combat leading the Myrmidons and the rest of the Achaeans to force a Trojan withdrawal. After Patroclus has routed the Trojan army, Hector, with the aid of Apollo and Euphorbus, kills Patroclus, vaunting over him:
"Alas! the gods have lured me on to my destruction. ... death is now indeed exceedingly near at hand and there is no way out of it- for so Zeus and his son Apollo the far-darter have willed it, though heretofore they have been ever ready to protect me. My doom has come upon me; let me not then die ingloriously and without a struggle, but let me first do some great thing that shall be told among men hereafter.|20px|20px|Spoken by Hector facing Achilles, after a missed spear-throw, Iliad Book XXII Lines 299-305.
Hector takes the armor off his victim (which was Achilles' armor), and gives it to his men to take back to the city. Glaucus accuses Hector of cowardice in not challenging Ajax. Stung, Hector calls for the armor, puts it on and uses it to rally the Trojans. Zeus regards the donning of a hero's armor as an act of insolence by a fool about to die, but makes him strong for now.
A fierce fight for the body ensues, which the Greeks win. Patroclus' death causes Achilles to renounce the wrath that kept him out of action, and he vows to avenge his fallen comrade by killing Hector. Hephaestus makes new armor for Achilles, including the Shield of Achilles, depicting
the earth, the heavens, and the sea; the moon also at her full and the untiring sun, with all the signs that glorify the face of heaven...|20px|20px|The Iliad, Book XVIII (Ιλιάς Ψ, Line 483 ff)
That night the Trojans held a council as to what to do. Hector's comrade-in-arms Polydamas suggested that the Trojans waste no time and return to the walls of the city where they would be safer from Achilles' wrath. Hector however, would not listen, thinking the Trojans were still on the cusp of a total victory.
The next day Achilles, killing many, routed the Trojans back to the city. Hector was left alone to face him. Seized by fear, Hector turned to flee, as Achilles gave chase to him three times around the city. Hector then mastered his fear and turned to face Achilles. But Athena, in the disguise of Hector's brother Deiphobus, deluded Hector. He requested from Achilles that his body be returned to Priam for a rightful burial, which Achilles refused. Achilles hurled his spear at Hector, who later dodged it, but Athena brought it back to Achilles' hands without Hector noticing. He later threw a spear at Achilles which hit the shield but to no avail, then, when Hector turned to face his supposed brother to retrieve another spear he saw no one there. At that moment he realized that he was doomed and that the gods were now all in Achilles' favor. But a warrior to the end, Hector decided that he would go down fighting and that men would talk about his bravery in years to come.
Hector then drew his only weapon, a sword, and charged Achilles who recognized the armor that his foe was wearing as his, and knew how to exploit its weakness, there was a chink in the armor at the throat. He plunged his spear which Athena had returned to his hand through the chink and Hector died slowly. As he died Hector begged to Achilles to not desecrate his body and accept the offerings from his parents, but Achilles, in his anger refused and described to Hector what he would do to his dead body. In his last moments of life, Hector promised Achilles that Paris and Apollo would be the ones to avenge his death. After he died, Achilles then slit Hector's heels, and took the girdle that Ajax had given him and passed it through the slits of the heels. He then fastened the girdle to his chariot and drove his fallen enemy through the dust to the Danaan camp. For the next twelve days, Achilles mistreated the body, but it remained preserved from all injury by the messenger god Hermes. After these twelve days, the gods could no longer stand watching it and sent two messengers down to earth: Iris, another messenger god, and Thetis, mother to Achilles. Achilles' mother told Achilles to do the right thing and allow King Priam to come and take the body for ransom. Once King Priam was notified that Achilles would allow him to claim the body, he went to his safe to withdraw the ransom for Hector's body. The ransom King Priam offered included twelve fine robes, twelve white mantles, several richly embroidered tunics, ten bars of yellow gold, a special gold cup, and several cauldrons. King Priam himself soon came to claim the body, and Hermes granted him safe passage by casting a charm that would make anyone who looked at him fall asleep. Out of respect for Priam, Achilles returned Hector's body. Priam returned to Troy with the body of his son, and it was given full funeral honors. Even Helen mourned Hector, for he had always been kind to her and protected her from spite. The last lines of the Iliad are dedicated to Hector's funeral. Homer concludes by referring to the Trojan prince as the "tamer of horses."
Once such piece of quasi-evidence is the names of Trojan heroes in the Linear B tablets. Twenty out of fifty-eight men's names also known from Homer, including e-ko-to (Hector), are Trojan warriors and some, including Hector, are in a servile capacity. No such conclusion that they are the offspring of Trojan captive women is warranted. Generally the public has to be content with the knowledge that these names existed in Roman in Mycenaean times, although Page hypothesizes that Hector "may very well be ... a familiar Greek form impressed on a similar-sounding foreign name."