The present invention relates to a process for preparing a fungal biomass protein from legumes and recovering said fungal biomass protein and a pure protein from said legumes, where said process comprises certain steps including using a fungi chosen from the genera Ascomycetes in order to obtain a fungal biomass protein.