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.[citation needed] From these cupboards and lockers the modern wardrobe, with its hanging spaces, sliding shelves and drawers, evolved slowly.