Genies frequently occur as characters or plot elements in fictional works. They are often divided into different categories, of which the most prominent are marid, genie or jinn, and ifrit.
Months later, a wandering man comes across the bottle and opens it, but seeing nothing but an old, muddy relic discards it, without releasing the emerald genie inside. Now masterless, the green genie begins to plague humanity, first by repelling the law of gravity, transforming cats and dogs into huge monsters, bringing the moon closer to the earth. The evil green genie then conjures up an army of giant soldiers to conquer the Earth. Still more, he decides conquer all of space, by leading an invasion force of ships across the stars. In the end, it is his undoing, as once in deep space, beyond Earthly influences, his powers and fade, undoing all his magic. Trapped again in the same bottle, as before, the green genie is trapped, but is not released by the stranger that found him in the first place.