Dollars Trilogy (The Man With No Name)
1862 - The Good, the Bad and the Ugly
1862 - The Man with No Name: The Good, The Bad, and the Ugler #1, "Sinners and Saints, Chapter One"
1862 - The Man with No Name: The Good, The Bad, and the Ugler #2, "Sinners and Saints, Chapter Two"
1862 - The Man with No Name: The Good, The Bad, and the Ugler #3, "Sinners and Saints, Chapter Three"
1862 - The Man with No Name: The Good, The Bad, and the Ugler #4, "Sinners and Saints, Chapter Four"
1862 - The Man with No Name: The Good, The Bad, and the Ugler #5, "Sinners and Saints, Chapter Five"
1862 - The Man with No Name: The Good, The Bad, and the Ugler #6, "Sinners and Saints, Chapter Six"
1862 - The Man with No Name: The Good, The Bad, and the Ugler #7, "Holiday in the Sun, Chapter One"
1864 - The Man with No Name: The Good, The Bad, and the Ugler #8, "Holiday in the Sun, Chapter Two"
1864 - The Man with No Name: The Good, The Bad, and the Ugler #9, "Holiday in the Sun, Chapter Three"
1865 - The Man with No Name: The Good, The Bad, and the Ugler #10, "Holiday in the Sun, Chapter Four"
1865 - The Man with No Name: The Good, The Bad, and the Ugler #11, "Holiday in the Sun, Chapter Five"
1866 - The Good, The Bad and the Ugly #1
1866 - The Good, The Bad and the Ugly #2
1866 - The Good, The Bad and the Ugly #3
1866 - The Good, The Bad and the Ugly #4
1866 - The Good, The Bad and the Ugly #5
1866 - The Good, The Bad and the Ugly #6
1866 - The Good, The Bad and the Ugly #7
1866 - The Good, The Bad and the Ugly #8
1872 - For a Few Dollars More
1973 - A Fistful of Dollars
There's also comics and novels. It's definitely canonically the same character.