Murray Close/Getty Will Smith shared a hilarious throwback photo in honor of the 26th anniversary ofWild Wild West The steampunk action comedy film was released in 1999, and co-starred Kevin Kline, Salma Hayek, and more Smith previously said thatWild Wild Westwas his "worst" film Will Smithis keeping the west wild. In honor ofWild Wild West's 26th anniversary, Smith, 56, shared a cheeky still from the film in which he was clad in nothing but a strategically placed cowboy hat. The actor captioned the June 30 Instagram photo: "Wild Wild West came out 26 years ago today- sorry this is the only photo I could find." One user wrote in the comments, "My favorite scene. Explanation not needed." Another wrote, "You were one of my early childhood crushes. Well done on on building a career that truly had and still has an impact. 💜✨" Murray Close/Getty Wild Wild Westwas released in 1999. The film, directed by Barry Sonnenfeld, was loosely based on the 1960s CBS show of the same name created by Michael Garrison. The film followed two secret service agents (Smith and Kevin Kline) as they protect President Ulysses S. Grant from the growing unpredictable threats of the American western frontier. Smith once referred toWild Wild Westas his worst film. In a 2021 interview withGQ,the actor answered a question about what he thinks is his best film and his worst film. He said, "For the best, I think it's a tie between the firstMen in BlackandPursuit of Happiness. For different reasons, those are the two almost-perfect movies." Never miss a story — sign up forPEOPLE's free daily newsletterto stay up-to-date on the best of what PEOPLE has to offer, from juicy celebrity news to compelling human interest stories. As for the worst, he said, "I don't know,Wild Wild Westis a thorn in my side." "To see myself in chaps… I don't like it," he added, laughing. The choice to star inWild Wild Westcame the same time he wasoffered the role of Neo inThe Matrix. Smith turned down the role in the film, which turned out to be a mega-hit, to do the steampunk Western action comedy.Keanu Reeveswent on to star inThe Matrixin his place. Read the original article onPeople