Electrolytic process to produce titanium from TiO2 feed