Genji (元治) was a Japanese era name (年号,,nengō,, lit. "year name") after Bunkyū and before Keiō. This period spanned only slightly more than a single year from March 1864 through April 1865. The reigning emperor was Kōmei-tennō (孝明天皇).
March 27, 1864 (Bunkyū 4/Genji 1, 20th day of the 2nd month) Genji gannen (元治元年): The new era name of Genji (meaning "original rule") was created to mark the beginning of a new 60-year cycle of the Chinese zodiac. The old era ended and a new one commenced in Bunkyū 4.
July 8, 1864 (Genji 1, fifth day of the sixth month): The Ikedaya Jiken, also known as the Ikedaya Affair or Ikedaya Incident, developed at the Ikedaya ryokan in Kyoto.
August 12, 1864 (Genji 1, 11th day of the 7th month): Sakuma Shōzan is assassinated at age 53. He had traveled from Edo to Kyoto on orders of the shogunate. He was in favor of steps which would lead to an opening of the country, but his voice was stilled by death at the hands of a sonno joi supporter.