A wardrobe or armoire is a standing closet used for storing clothes. The earliest wardrobe was a chest, and it was not until some degree of luxury was attained in regal palaces and the castles of powerful nobles that separate accommodation was provided for the apparel of the great. The name of wardrobe was then given to a room in which the wall-space was filled with closets and lockers, the drawer being a comparatively modern invention. From these cupboards and lockers the modern wardrobe, with its hanging spaces, sliding shelves and drawers, evolved slowly.