A coloured precipitate is obtained when H2S gas is passed through an aqueous solution of a salt in the presence of ammonium hydroxide. The precipitate dissolves in dilute HCl and reacts with NaOH to give white precipitate which on standing turns into a brown/black mass. The brown/black mass on fusion with KNO3 and Na2CO3 gives green mass. The cation of the salt is: