Seppuku/Jigai or ritualized suicide was part of the bushido (Samurai code of honor) in Japan from around 1180 until 1870.