Question: What class were samurais?
Sentence: By the end of the 12th century, samurai became almost entirely synonymous with bushi, and the word was closely associated with the middle and upper echelons of the warrior class.
Answer in sentence: yes