The present invention relates to a method for preparing a composition having antimicrobial activity composition which is derived from spent fermentation broth, the composition having antimicrobial activity and the use of the composition as an antibiotic or as an additive for feed or food.