We show that for primes N,p≥5 with N≡−1modp, the class number of Q(N1/p) is divisible by p. Our methods are via congruences between Eisenstein series and cusp forms. In particular, we show that when N≡−1modp, there is always a cusp form of weight 2 and level Γ0(N2) whose ℓ-th Fourier coefficient is congruent to ℓ+1 modulo a prime above p, for all primes ℓ. We use the Galois representation of such a cusp form to explicitly construct an unramified degree p extension of Q(N1/p).