MADRID (AP) — Spanish club Real Sociedad says it has hired David Moyes as its new coach.