Ghost Dog: The Way of the Samurai is a 1999 samurai action film written and directed by Jim Jarmusch. Forest Whitaker stars as the title character, the mysterious "Ghost Dog", an African-American hitman in the employ of the Mafia, who follows the ancient code of the samurai as outlined in the book of Yamamoto Tsunetomo's recorded sayings, Hagakure.