Question: when did the first samurai exist in japan
Answer: As part of the Taihō Code of 702 AD , and the later Yōrō Code , the population was required to report regularly for the census , a precursor for national conscription .