In 1901 he returned to Spain and opened la Escuela Moderna ("The Modern School") to teach middle-class children (then) radical social values, the school was free. In 1906 he was arrested and accused of helping with Mateu Morral's attack on King Alphonso XIII and released a year later. His school failed and closed while he was incarcerated.