I could not find the first recorded use of black pepper but Ground, dried, and cooked peppercorns have been used since antiquity, both for flavour and as a traditional medicine.