When did Will Smith act in Men in Black?

The first Men in Black movie came out in 1997.