Perhaps the most well-known of these films is `` The Man with No Name '' trilogy : A Fistful of Dollars ( 1964 ) , For a Few Dollars More ( 1965 ) , and The Good , the Bad and the Ugly ( 1966 ) . All three of these films were directed by Sergio Leone , featured music by Ennio Morricone , and starred American actor Clint Eastwood as the main character . The best-known and perhaps archetypal films were the `` Man with No Name '' trilogy ( or `` Dollars Trilogy '' ) directed by Sergio Leone , starring Clint Eastwood and with the musical scores of Ennio Morricone : A Fistful of Dollars ( 1964 ) , For a Few Dollars More ( 1965 ) , and The Good , the Bad and the Ugly ( 1966 ) .