the invention relates to a novel process for the preparation of metal - containing compounds comprising the steps of a ) forming a mixture comprising i ) elemental phosphorus and ii ) one or more metal - containing precursor compounds , and b ) heating the mixture to a temperature of at least 150 ° c . materials made by such a process are useful , for example , as electrode materials in alkali metal - ion battery applications .