This document summarizes the results of a project that developed a two-phase anaerobic digestion (AD) system to treat high-salinity wastewater and produce biogas. The system uses granular sludge that can withstand salt concentrations up to 58 g/L in the acidogenic phase and 14 g/L in the methanogenic phase. Testing at a demonstration site in Slovenia treated saline hides wastewater and produced up to 9.3 m3 of biogas per m3 of wastewater. This provides a sustainable way to treat saline industrial wastewater while generating renewable energy in the form of biogas.