The Twilight Samurai (たそがれ清兵衛, literally "Twilight Seibei") is a 2002 Japanese historical drama film co-written and directed by Yoji Yamada and starring Hiroyuki Sanada and Rie Miyazawa. Set in mid-19th century Japan, a few years before the Meiji Restoration, it follows the life of Seibei Iguchi, a low-ranking samurai employed as a bureaucrat. Poor, but not destitute, he still manages to lead a content and happy life with his daughters and his mother, who has dementia. Through an unfortunate turn of events, the turbulent times conspire against him.