Governor temporarily replaces jailed mayors