 SPOILER: The basic story and quite a few scenes borrow heavily from  Akira Kurosawas "Seven Samurai".  (_Shichinin no samurai (1954)_ (qv)): Village terrorized by bandits;  A few villagers goes into town to find help; They have very little  to offer; No help from towns people; They find "warriors"; They  prepare defenses (among them water filled trenches); Large climactic  battle; The leader is the last of the bandits to die; Three prepare  to leave the village; One looks back at the girl he fell in love  with (though Three amigos has a slightly happier version of what  happens then).