In Edo (now Tokyo), 46 of the Forty-seven Ronin commit seppuku (ritual suicide) as recompense for avenging their master's death.

The revenge of the forty-seven rnin (, Shijshichishi), also known as the Ak incident (, Ak jiken) or Ak vendetta, is a historical 18th-century event in Japan in which a band of rnin (lordless samurai) avenged the death of their master. The incident has since become legendary. It is one of the three major adauchi vendetta incidents in Japan, alongside the Revenge of the Soga Brothers and the Igagoe vendetta.The story tells of a group of samurai who were left leaderless after their daimy (feudal lord) Asano Naganori was compelled to perform seppuku (ritual suicide) for assaulting a powerful court official named Kira Yoshinaka. After waiting and planning for a year, the rnin avenged their master's honor by killing Kira. They were then obliged to commit seppuku for the crime of murder. This true story was popularized in Japanese culture as emblematic of the loyalty, sacrifice, persistence, and honor that people should display in their daily lives. The popularity of the tale grew during the Meiji era, during which Japan underwent rapid modernization, and the legend became entrenched within discourses of national heritage and identity.

Fictionalized accounts of the tale of the forty-seven rnin are known as Chshingura. The story was popularized in numerous plays, including in the genres of bunraku and kabuki. Because of the censorship laws of the shogunate in the Genroku era, which forbade portrayal of current events, the names were changed. While the version given by the playwrights may have come to be accepted as historical fact by some, the first Chshingura was written some 50 years after the event, and numerous historical records about the actual events that predate the Chshingura survive.

The bakufu's censorship laws had relaxed somewhat 75 years after the events in question in the late 18th century when Japanologist Isaac Titsingh first recorded the story of the forty-seven rnin as one of the significant events of the Genroku era. To this day, the story remains popular in Japan, and each year on 14 December, Sengakuji Temple, where Asano Naganori and the rnin are buried, holds a festival commemorating the event.

Edo (Japanese: 江戸, lit. '"bay-entrance" or "estuary"'), also romanized as Jedo, Yedo or Yeddo, is the former name of Tokyo.Edo, formerly a jōkamachi (castle town) centered on Edo Castle located in Musashi Province, became the de facto capital of Japan from 1603 as the seat of the Tokugawa shogunate. Edo grew to become one of the largest cities in the world under the Tokugawa.

After the Meiji Restoration in 1868 the Meiji government renamed Edo as Tokyo (東京, "Eastern Capital") and relocated the Emperor from the historic capital of Kyoto to the city. The era of Tokugawa rule in Japan from 1603 to 1868 is known eponymously as the Edo period.