In the first extraction of radium, Curie used the residues after extraction of uranium from pitchblende. The uranium had been extracted by dissolution in sulfuric acid leaving radium sulfate, which is similar to barium sulfate but even less soluble in the residues. The residues also contained rather substantial amounts of barium sulfate which thus acted as a carrier for the radium sulfate. The first steps of the radium extraction process involved boiling with sodium hydroxide, followed by hydrochloric acid treatment to minimize impurities of other compounds. The remaining residue was then treated with sodium carbonate to convert the barium sulfate into barium carbonate (carrying the radium), thus making it soluble in hydrochloric acid. After dissolution, the barium and radium were reprecipitated as sulfates; this was then repeated to further purify the mixed sulfate. Some impurities that form insoluble sulfides were removed by treating the chloride solution with hydrogen sulfide, followed by filtering. When the mixed sulfates were pure enough, they were once more converted to mixed chlorides; barium and radium thereafter were separated by fractional crystallisation while monitoring the progress using a spectroscope (radium gives characteristic red lines in contrast to the green barium lines), and the electroscope.