Yojimbo (1961)
Yojimbo is a 1961 jidaigeki (period drama) film directed by Akira Kurosawa. It tells the story of a ronin, portrayed by Toshiro Mifune, who arrives in a small town where competing crime lords vie for supremacy. The two bosses each try to hire the deadly newcomer as a bodyguard (yojimbo in Japanese).
More at Wikipedia.