Ireland was divided by how many provinces?