In his Lambodara avatar, Lord Ganesha proves that the universe exists within his stomach and frees Lord Brahma from Mayasura's spell. Following that, he kills Mayasura.