Complex sentence: This was connected with the theoretical prediction of the electromagnetic mass by J.J. Thomson in 1881, who showed that the electromagnetic energy contributes to the mass of the body.
Split into simpler sentences: This was connected with the theoretical prediction of the electromagnetic mass by Thomson in 1881. He showed, that the electromagnetic energy contributes to the mass of the body.