3rd jailed mayor sworn in