Synthesis of U3Se5 and U3Te5 type polymorphs of Ta3N5 by combining high pressure-temperature pathways with a chemical precursor approach.