Wild Wild West (1999)
Wild Wild West is a 1999 American steampunk western action-comedy film directed by Barry Sonnenfeld. A big-screen adaptation of the 1965–1969 TV series The Wild Wild West, it stars Will Smith, Kevin Kline (who appears in dual roles as the protagonist Artemus Gordon and as President Ulysses S. Grant), Kenneth Branagh and Salma Hayek.
More at Wikipedia.