From Bulbapedia, the community-driven Pokémon encyclopedia.
The Diamond Domain (Japanese: ダイヤモンド鉱国 Diamond Ore Country) is an anime-exclusive location in Kalos. It is one of the settings of Diancie and the Cocoon of Destruction. It neighbours Allearth Forest.
It is a beautiful, underground domain where many Carbink live in peace and Diancie serves as its ruler. The Heart Diamond is a large diamond created by Diancie, which is used to sustain the land and provide the Diamond Domain with energy and tranquility.
One day, the Heart Diamond started to lose its energy due to its old age. If the power of the Heart Diamond would die out, then the Diamond Domain would be finished. As such, Dace, an older and wise Carbink, gave Diancie the task of creating a new Heart Diamond, as only she had the ability do so. However, she failed to complete this task, lacking the power needed to create a new one. Due to this, Dace now tasked Diancie with finding Xerneas, whose Fairy Aura would be able to restore the Diamond Domain. Diancie and her Carbink servants then left the Diamond Domain to fulfill this task.
Later, Diancie and the Carbink servants returned to the Diamond Domain together with Ash and his friends, partially to seek shelter from thieves hunting down Diancie. During the time Diancie had been away, the Diamond Domain had fallen in despair even further, and the Heart Diamond was almost dead. After this, Ash, his friends, Diancie and the Carbink servants left the Diamond Domain again to journey to the nearby Allearth Forest, as Diancie sensed Xerneas's aura coming from here.
After Xerneas had driven off Yveltal inside Allearth Forest and returned the balance of nature, the group, Diancie and the Carbink servants returned to the Diamond Domain once more. Diancie used her newfound power of Mega Evolving to create a new Heart Diamond, one that was able to sustain the Diamond Domain with new energy and tranquility for years to come.