reformed hydrogen as feedstock under harsh conditions. [3] Ambient electrocatalytic N 2 reduction reaction (NRR) has emerged as an attractive alternative for NH 3 production, which however suffers from unsatisfactory Faradaic efficiencies (FE) (mostly <50%) and very low NH 3 partial current densities (mostly <1 mA cm -2 ) due to extremely stable triple NN bond (941 kJ mol -1 ) and low N 2 solubility. [4,5] Nitrate reduction into NH 3 (NO 3 -RR) is considered as a promising alternative with large attainable yields owing to the high solubility of NO 3 and low NO bond energy (204 kJ mol -1 ). [6] Furthermore, NO 3 is one of the most widespread groundwater pollutants in the world due to the discharge of industrial wastewater, livestock excrements, and chemical fertilizers, imposing a threat to the health of human beings. [7] Therefore, it is highly attractive to harness NO 3 contaminants to produce the value-added NH 3 from the energy and environmental perspectives.In addition to the chemicals, electricity is one other key pillar of human society. [8][9][10][11][12][13][14][15][16] Notably, the NO 3 -RR involves proton-assisted eightelectron transfer process and its equilibrium potential is 0.69 V versus the reversible hydrogen electrode (RHE), higher than the 0.4 V of the oxygen reduction reaction in Zn-air/oxygen batteries. [17] It is thus highly attractive to combine the NO 3 -RRbased cathode with metal anode as a galvanic cell for electricity production. Such metal-NO 3 battery as a "killing three birds with one stone" strategy is capable of energy supply, ammonia production, and removal of pollutant in ground water. As some possible byproducts such as nitrite and hydrazine may lower the efficiency of such battery, catalyst cathodes with high NH 3 selectivity is highly desired for practical use. [18][19][20] First row transition metal phosphides, as alloy materials of metal and phosphorus, are active catalysts in hydrotreating (HDX, X = S, O, N) and hydrogenation reactions. [21,22] The metal centers in phosphides with partial positive charge can adsorb nitrate and nitrite anions effectively while the partial negative charge centers, i.e., phosphorus, are the proton-acceptor centers. [23] Further, heteroatom doping can well modulate the electronic structure of the catalyst and boost the catalytic activity. [24] The The electrocatalytic nitrate reduction reaction (NO 3 -RR) to ammonia (NH 3 ) offers a promising alternative approach for NH 3 production and nitratebased voltaic cells which can deliver both electricity and NH 3 as products, are also highly attractive. However, nitrate-to-NH 3 conversion involves a proton-assisted multiple-electron transfer process with considerable kinetic barrier, underlying the need for efficient catalysts for the NO 3 -RR. A Zn-nitrate battery is reported to enable a "killing three birds with one stone" strategy for energy supply, ammonia production and removal of pollutants with the iron doped nickel phosphide (Fe/Ni 2 P) as a NO 3 -RR catalyst electrode. Iron doping induces a d...