Over the past 200 years, mining has been the most important industry in Wales. It was hard and dirty work. In the early 1800s many young children worked in the mines. That was made illegal in 1843 for children under the age of 10. In 1920, 271 000 Welsh men still worked in coalmines. Now, all coalmines have been closed.