When did the ninja first emerge as a distinct class in Japan?
The ninja emerged as a distinct class in the 15th century, although espionage in Japan dates back to the 6th century. Prince Shotoku employed a spy named Otomono Sahito around the year 574, but the figure known as the ninja did not exist until later. The true lineage began in 1162 when Daisuke Togakure formulated ninjutsu with Kain Doshi.