A photoelectrocatalytic oxidizing device having a photoanode being constructed from an anatase or rutile polymorph of Ti as the support electrode. Alternatively, the photoanode is a composite electrode comprising an anatase or rutile polymorph of Ti as the support electrode coated with a thin film of sintered nanoporous TiO2 derived from a stable, dispersed suspension of nanoparticulate TiO2. The device being useful for removing ammonia, protein and other contaminants from water in aquariums and aquacultures thereof. The device being cylindrical in shape and having a flow-through configuration. The method being directed at reducing the amount and concentration of ammonia in an aquarium or aquaculture system comprising providing an aqueous solution comprising water, NH3, NH4+ and 1 ppb to 200 g / L NaCl, and, photoelectrocatalytically oxidizing the NH3 and NH4+ to produce N2 gas, NO2− and NO3−, wherein the NH3 and NH4+ are oxidized on the surface of a photoanode constructed from an anatase polymorph of Ti, a rutile polymorph of Ti, or a nanoporous film of TiO2.