Nuclear physics

An excited nucleus emits a gamma-ray photon. Which nuclear property necessarily changes?