When all desires that dwell in his heart cease, then the mortal becomes immortal, and obtains Brahman.
In plain words: When all the cravings in a person's heart come to an end, that mortal person becomes immortal. They reach Brahman, the ultimate reality.