The Magicks of Megas - Tu ( episode ) While investigating the theory of creation , the " Enterprise " is caught inside an energy / matter tornado . After emerging from the storm , the crew encounter a world where magic works and science doesn ' t . Summary . The " Enterprise " was sent on a scientific mission to find the creation point , an area in the galactic core where matter was being created . Upon arrival , the starship was caught in what Spock described as a matter - energy whirlwind and thrown into an alternate universe . All of the ship ' s computer s and systems began to fail , and the crew started to lose consciousness due to the lack of oxygen . Suddenly , a red - skinned humanoid with small horns on his head appeared on the bridge . He repaired the systems and welcomed the crew as if they were old friends , but preached caution . He took Kirk , Spock , and McCoy to his planet , Megas - Tu , where he explained to them that Megas - Tu was not governed by the same physical laws as their own universe and that magic thrived here . He then sent them back to the " Enterprise " , seeming afraid that someone might discover them . Back on board , some of the crew began experimenting with magic , starting with Spock . It was discovered by the crew that in this universe , belief is as real as matter and energy . Spock explored these new abilities by drawing a mystic symbol on the floor , and while standing in it , used the power of his belief to move a Vulcan chess piece ; and Sulu used magic to conjure up a beautiful woman . Lucien reappeared , telling them that using these mental powers would attract unwanted attention . His warning was too late – the Megan s had noticed the activity and arrived in non - corporeal form on the " Enterprise " . The crew was transported to what appeared to be Salem , Massachusetts , in what seemed to be the middle of a witch trial . The prosecutor , Asmodeus , explained that the Megans had gone to Earth many years prior in search of companions ( as there were no other lifeforms in their own universe who practiced magic ) , but they were met with hatred and fear , and eventually driven out , accused of witch craft . The remaining few gathered together , and combining their powers , were able to return to Megas - Tu . At the trial , Spock volunteers to speak in defense of the Human s , since he was not from Earth . Kirk also explained how much Humanity has grown since 1691 , trying to accept all forms of life with an open mind . Kirk invited Asmodeus to view the ship ' s computer , which convinced him that Humanity has changed , and that they should go free . However , the Megans were now putting Lucien on trial for bringing evil to their planet , since they expected that the " Enterprise " would bring more Humans to their world . Lucien ' s punishment would be condemnation to Limbo for eternity . Spock and Kirk defended Lucien ' s actions , but their words did nothing to convince the court . Seeing no other course of action , Kirk used magic himself , against Asmodeus , in defense of Lucien , despite the knowledge that he could not win . He explained that the Megans were in danger of becoming like the Humans they so feared . Despite the knowledge that Lucien was the inspiration , or even the embodiment of Lucifer , Kirk continued to defend him , stating that he would give his life to save Lucien . This impressed the Megans , and they gave Lucien his freedom . The Megans told Kirk that , if any other Humans make it to their planet , they will be welcomed , and the " Enterprise " was returned to its proper universe . McCoy asks Kirk if he believes that Lucien was really Lucifer . Kirk asks if that really matters , but Spock tells the captain that it may be significant , as this would be the second time Lucifer was cast out . However , thanks to Kirk , it would be the first time he was saved . Memorable quotes . " " Ah , Humans . Lovely , primitive Humans . Can ' t you do anything right ? " " " " Children will play . " " " " These are the defendants , as representatives of the vilest species in all the universe , treacherous Humanity . " " " " Know that once , upon your world , I was known as Asmodeus , he who sees all . Gaze upon my countenance so that you too may see . " " " " Captain , good captain ! Always so curious , that must be why I ' ve always liked you Earthlings so much ! " " " " Some Humans would attempt to use us to gain power . . . to serve their own greed and lust . When we refused to serve them they turned against us and taught other Humans to fear us , to hate . They called us devils , warlocks , evil sorcerers . Those of us who survived came to the town of Salem in Massachusetts as settlers and tried to live like other men . " " " " But you made mistakes , used your powers . . . " " " " And burned for it . Burned ! " " " " As witches . " " " " Knowledge is freedom . " " " " We massed together outside the town , immersed ourselves in Megan lore , revived ourselves enough to unite our minds and reach into our own Universe , and tap enough of its power to return from your hellish Earth to Megas - Tu . " " " " Protect yourselves ? ! Is that all Human beings ever think about ? I ' ll take care of you . That ' s what friends are for . All this mental energy you ' re using , It can be traced . You ' ll be found . " " " " Have been found ! ! So . . . the people of Earth would spread the evil to our home ? ! We are ready for Human perfidy this time ! ! This time , it is the Humans who shall suffer . . . the Humans , and you , Lucien , who shall pay ! ! " " " " Do you think Lucien really was the demon some men call Lucifer ? " " " " Does it really matter , Bones ? " " " " It just might , captain . If he was , this would be the second time Lucifer was cast out , and , thanks to you , the first time he was saved . " " Links and references . References . 13th century ; 1691 ; advisor ; antimatter ; apple ; Bacchanais ; battery ; Big Bang ; " Bones " ; charting scanner s ; creation point ; chronometer ; deflector s ; drawing ; Earth ; Earthling ; elf ; emergency power ; ethics ; film ; galactic core ; General Order 1 ; generalist ; ; hurricane ; life support system ; limbo ; logic ; love philter ; Lucifer ; magic ; Massachusetts ; matter ; matter - energy whirlwind ; medical tricorder ; Megas - Tu ; Megan ; Milky Way Galaxy ; mystic symbol ; mythology ; oxygen ; prosecutor ; punch card ; ; Rhadamanthus ; Salem ; Salem witch trials ; satyr ; sorcerer - contractor ; space ; specialist ; stable ; stocks ; subspace radio ; time ; toast ; Vulcan chess ; yellow alert