The Quick and the Dead

This article's plot summary may be too long or excessively detailed. Please help improve it by removing unnecessary details and making it more concise. (June 2016) (Learn how and when to remove this template message)
An unnamed gunslinger referred to as The Lady enters the Old West town of Redemption circa 1881, where she enters a single elimination gunfighting contest held by Redemption's ruthless mayor and former outlaw John Herod. While there she meets Cort, a former Herod henchman turned preacher whom Herod has captured and forced to enter the contest. During her first night in town, The Lady saves Cort's life by shooting the rope Herod's men had hanged Cort from. She also meets "The Kid", a brash young man who runs the general store and who hopes to impress Herod. The Kid believes Herod is his father and that he can earn his father's respect by entering and winning the contest.
In the first round of duels The Kid defeats a Swedish quick-draw champion while Herod kills a braggart named Ace Hanlon, who had taken credit for some of Herod's own accomplishments. The Lady defeats an enemy she had previously left shackled to a wagon. Cort, who has renounced violence and doesn't have a weapon, is taken to the general store. Herod buys Cort a gun and decrees that Cort (an exceptionally skilled gunfighter) can only have one bullet at a time so that he doesn't shoot his way out of town. Despite telling everyone he wouldn't fight, Cort winds up drawing his gun and winning his first round fight. During a rainstorm Herod meets with Clay Cantrell, a professional gunfighter hired by the townspeople to kill Herod. Before they duel, Herod changes the rules and proclaims that all contests are now to the death. After killing Cantrell, Herod angrily addresses the townspeople and informs them that he will continue to raise his taxes on them until they understand that he is in charge of everything. During a rainstorm that evening The Lady faces off with Eugene Dred after Dred rapes a young girl at the saloon. She defeats him but spares his life and returns to the bar, but Dred ambushes her and she is ultimately forced to kill him.
The next day, Cort is slated to fight Spotted Horse, a Native American who claims he cannot be killed by bullets. The Lady, still upset over killing Dred the night before, saddles up and rides out of town before Cort's fight. Cort narrowly beats Spotted Horse after having to beg for a second bullet. The Lady is found at a nearby cemetery by Doc Wallace, who tells her that he recognizes her and knows why she is there. During flashbacks, we learn that The Lady's father used to be the Marshal in Redemption and was strung up by Herod's men. Herod gave the young girl a pistol and three shots to try and break the rope her father was hanging from, but she accidentally kills him instead. Doc Wallace tells her that Herod's men dug up her father's body and burned it. He hands The Lady her father's old badge and begs her to come back and help rid the town of Herod.
The Lady rides back to town and directly challenges Herod, but is sickened to hear that he's already accepted a fight against The Kid. The Lady and Cort are the only other fighters left and are ordered by Herod to face off. They both proclaim they won't fight each other, but Herod tells them he will have them gunned down by his men if they refuse. Herod takes The Kid aside and asks him to withdraw from the contest, telling him his time will come. The Kid refuses and they fight, with The Kid wounding Herod in the neck while Herod delivers a fatal bullet to The Kid. The Lady and Cort then face each other, but both refuse to draw their weapons. Herod begins a countdown from ten, declaring that if neither draws by the time he gets to zero he will have them both killed. Cort begs The Lady to kill him but she still refuses, when Herod reaches one Cort draws and fires. Doc Wallace declares The Lady dead, and Cort angrily storms up to Herod and demands they fight immediately. Herod refuses, telling Cort they will meet at dawn. Later that night, one of Herod's men named Ratsy chains Cort to a table and beats him severely before smashing Cort's gunfighting hand and breaking it.
The next morning, Herod sees Cort's busted hand and orders Ratsy to leave town. He offers to face Cort left-handed, which Cort accepts. Herod kills Ratsy with a rifle and then squares off to fight Cort. Herod then secretly tells his guards to kill Cort if he is the winner. At the moment Herod draws, several buildings explode on the street. Herod's house and the clock tower are also blown up, and through the smoke and flames The Lady walks back into town. Cort tells Herod that from now all on fights in town will be fair, and proceeds to kill Herod's men who were stationed around town. The Lady and Herod face off, and she finally reveals to him who she is when she throws her father's old badge at Herod's feet. They draw on each other, Herod shoots The Lady in the arm and she fires a shot though Herod's chest. Herod raises his gun to fire again before being dispatched by a bullet to the eye.
The wounded Lady throws her father's badge to Cort and names him as the new Marshal before saddling up and riding out of the town.

Question: what does herod buy cort?
Answer: gun