What layer of skin do hair follicles come from?

Fully developed hair follicles lie in the dermis but develop as indurations from the epidermis.