Krešimir IV (1058–1074) managed to get the Byzantine Empire to confirm him as the supreme ruler of the Dalmatian cities. Croatia under Krešimir IV was composed of twelve counties and was slightly larger than in Tomislav's time, and included the closest southern Dalmatian duchy of Pagania. From the outset, he continued the policies of his father, but was immediately commanded by Pope Nicholas II first in 1059 and then in 1060 to reform the Croatian church in accordance with the Roman rite. This was especially significant to the papacy in the aftermath of the Great Schism of 1054.