After what war did the state ban on Catholics end?