Modulation strategy of manganese valence state in Yttrium gallium garnet