In 2000, a seminal study predicted ferromagnetism above room temperature in diluted magnetic semiconductors and oxides, fuelling tremendous research activity that has lasted for a decade. Tomasz Dietl reviews the progress in understanding these materials over the past ten years, with a view to the future of semiconductor spintronics.