Another legend depicts Asmodai throwing King Solomon over 400 leagues away from the capital by putting one wing on the ground and the other stretched skyward. He then changed places for some years with King Solomon. When King Solomon returned, Asmodai fled from his wrath. Similar legends can be found in Islamic folklore. There Asmodeus is called Sakhr ( "the Rock" or "the Stony One"), because in Islamic lore, Solomon banished him into a rock, after he takes his kingdom back from him. There he counts as the king of the jinn.