The Twilight Samurai (2002)
The Twilight Samurai or Tasogare Seibei is a 2002 Japanese film directed by Yoji Yamada. 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 senile mother. Through an unfortunate turn of events, the turbulent times conspire against him.
More at Wikipedia.