In the Samyuktagama Sutra, it is said:
When desire is exhausted, anger is exhausted, delusion is ex- hausted, and all afflictions are exhausted — this is called nirvana.
What is nirvana? Liberation is nirvana. From the standpoint of Mahayana Buddhism, the three bodies of an enlightened being – dharmakaya, sambhogakaya, nirmanakaya – and the five wisdoms are called nirvana.
~Depicted from THE FOUR SEALS OF DHARMA - Nirvana Is True Peace