Decomposition of a metal salt