In 1919 the conflict resulted in a partial victory for Ireland , and in 1921 the Partition Act enabled the six counties of Northern Ireland to remain in the union with Britain , while the remaining 26 became independent .
Ireland is composed of over twenty counties , each with their own government .