From being founded by the church, Kilkenny was the ancient capital of the kingdom of Ossory. The town was established, then a city, in 1609 by royal charter. Kilkenny was the capital of Confederate Ireland between 1642 and 1649. The seat of the Roman Catholic Bishop of Ossory and the Church of Ireland Bishop of Cashel and Ossory are in Kilkenny.