Samurai (侍 samurai?, in Portuguese "servant", masculine) or Bushi (武士? in Portuguese "warrior") and Onna-bugeisha (女武芸者? , feminine), Initially it was a civil servant of the Japanese empire, with the functions tax collector (coletoria) and land administrator (daimyō). During the period of feudal Japan, he gained military roles and became a soldier of the imperial aristocracy, from 930 to 1877, ending the era as a ronin duelist (dishonored samurai) or master of arts such as crafts, painting, or tea.