The term "ronin" was used for outlaws and wanderers, men who had been expelled from their clans or had renounced their lords.
Some samurai also became ronin through no fault of their own, upon the death of their daimyo. This was the situation of the famous 47 Ronin, who avenged their master's death according to the code of bushido, and then committed seppuku.
The word "ronin" is borrowed from Chinese, and means "drifter" or "lawless person."
"The 47 Ronin are idolized today in Japan for their courage and absolute loyalty to their master, even after his death."