A villain (also known as a "black hat" or "bad guy"; the feminine form is villainess) is a stock character, whether based on a historical narrative or one of literary fiction. Random House Unabridged Dictionary defines such a character as "a cruelly malicious person who is involved in or devoted to wickedness or crime; scoundrel; or a character in a play, novel, or the like, who constitutes an important evil agency in the plot". The antonym of a villain is a hero. The villain's structural purpose is to serve as the opposition of the hero character and their motives or evil actions drive a plot along. In contrast to the hero, who is defined by feats of ingenuity and bravery and the pursuit of justice and the greater good, a villain is often defined by their acts of selfishness, evilness, arrogance, cruelty, and cunning, displaying immoral behavior that can oppose or pervert justice. The term villain first came into English from the Anglo-French and Old French vilain, which is further derived from the Late Latin word villanus, which referred to those bound to the soil of the villa and worked on an equivalent of a plantation in Late Antiquity, in Italy or Gaul. Vilain later shifted to villein, which referred to a person of a less than knightly status, implying a lack of chivalry and politeness. All actions that were unchivalrous or evil (such as treachery or rape) eventually fell under the identity of belonging to a villain in the modern sense of the word. Additionally, villein became used as a term of abuse and eventually took on its modern meaning. The landed aristocracy of Middle Age Europe used politically and linguistically the Middle English descendant of villanus meaning "villager" (styled as vilain or vilein) with the meaning "a person of uncouth mind and manners". As the common equating of manners with morals gained in strength and currency, the connotations worsened, so that the modern word villain is no unpolished villager, but is instead (among other things) a deliberate scoundrel or criminal.