The present invention relates to a process for preparing a fungal biomass, such as fungal biomass protein, from legumes and recovering said fungal biomass protein from said legumes, where said process comprises certain steps including using a fungi chosen from Aspergillus oryzae.A fungal biomass protein and a pure protein obtainable by said process as well as the use of a fungal biomass protein as vegtable protein in a food product are also described.