Duel in the Sun

Pearl Chavez (Jennifer Jones) is orphaned after her father Scott Chavez (Herbert Marshall) kills her mother (Tilly Losch), having caught his wife with a lover (Sidney Blackmer). Before Scott Chavez is executed as a punishment for killing his wife, he arranges for his daughter Pearl to live with his second cousin and old sweetheart, Laura Belle (Lillian Gish).
Arriving by stagecoach, Pearl is met by Jesse McCanles (Joseph Cotten), one of Laura Belle's two grown sons. He takes her to Spanish Bit, their enormous cattle ranch. The gentle and gracious Laura Belle is happy to welcome her to their home, but not so her husband, the wheelchair-bound Senator Jackson McCanles (Lionel Barrymore), who calls her "a half-breed" and jealously despises Pearl's father.
The second son, Lewt (Gregory Peck), is a ladies man with a personality quite unlike that of his gentlemanly brother Jesse. He expresses his interest in Pearl in direct terms and she takes a strong dislike to him. Laura Belle calls in Mr. Jubal Crabbe, the "Sinkiller" (Walter Huston), a gun-toting preacher, to counsel Pearl on how to avoid the evils of temptation. Pearl is determined to remain "a good girl."
When she submits to Lewt's aggressive advances one night, Pearl is angry with him and ashamed of her own behavior. But she also cannot help but be flattered by his lust and attentions. Jesse, meanwhile, is ostracized by his father and no longer welcome at the ranch after siding with railroad men, headed by Mr. Langford (Otto Kruger), against the Senator's personal interests. Jesse is in love with Pearl but he leaves for Austin to pursue a political career and becomes engaged to Helen Langford (Joan Tetzel), Langford's daughter.
Offended when Lewt reneges on a promise to marry her, Pearl takes up with Sam Pierce (Charles Bickford), a neighboring rancher who is smitten with her. She does not love him but says yes to his proposal. Before they can be married, however, Lewt picks a fight with Pierce in a saloon and guns him down. He insists that Pearl can belong only to him. Lewt becomes a wanted man.
On the run from the law, Lewt finds time to derail a train and occasionally drop by the ranch late at night and foist his attentions on Pearl. She cannot resist her desire for him and lies for Lewt to the law, hiding him in her room. Afterward, however, he walks out on her, despite her pleas that she loves him.
Laura Belle's health takes a turn for the worse and the Senator admits his love for her before she dies. Jesse returns to visit but is too late; his mother is dead. The Senator continues to shun him, as does Lewt, their family feud finally resulting in a showdown. Lewt tosses a gun to his unarmed brother but Jesse stands his ground without attempting to pick it up. Jesse warns that Lewt will eventually be hanged as a murderer, and Lewt responds by shooting Jesse.
The Senator's old friend, Lem Smoot (Harry Carey) tells him that Jesse's wound is not mortal and the old man softens up towards his son. A livid Pearl is relieved that Jesse is going to survive. When Helen arrives, she invites Pearl to leave Spanish Bit forever and come live with them in Austin. Pearl agrees, but she is tipped off by one of the Spanish Bit hands, Sid (Scott McKay) that Lewt intends to come after Jesse again. Pearl Then Goes To The Desert Where She Engages in a Shootout With Lewt, Kills Him An Then Dies In Pearl's Arms. A Few Seconds later Though Pearl Dies Also, Thus Ending The Movie.

Question: Where does the shootout take place?
Answer: Desert