The development of J.J. Thomson's atomic model was a direct consequence of his groundbreaking discovery of a new subatomic particle.
In 1897, through experiments with cathode rays, J.J. Thomson identified and characterized the electron. He determined it was a negatively charged particle with a very small mass compared to the atom itself.
This discovery was pivotal. Thomson proposed his "plum pudding" model of the atom shortly after, suggesting the atom consisted of a sphere of positive charge with these newly discovered electrons embedded within it, much like plums in a pudding. Therefore, the discovery of the electron directly led to the formulation of Thomson's model.