Hello, this is a movie I saw on DVD between 2005 and 2009 but it’s rather old, I’d say it was made during the 1970s or 1980s
It was some kind of spaghetti western but much more violent. There was a massacre at the beginning in which a sheriff and his men purged a town by killing all the outlaws. It was pretty graphic some men were hung by the balconies I believe, other were shot (bloody)
Main characters are anti-heros fleeing this massacre. There was a beautiful woman in the group, probably a prostitute, and I think someone tries to rape her at some point of the movie.
That’s all I can recall, except maybe the title, I think it started with “The”.