The top U.N. human rights official called on the Pakistani government Friday to swiftly resolve its judicial crisis and to ensure that peace deals with militants do not infringe on the rights of women and minorities.

Pakistan’s newly elected coalition government has been split by a deep disagreement over the process of restoring dozens of senior judges fired last year in a judicial purge by President Pervez Musharraf.