Stephen Hawking has warned that people may one day create artificial intelligence that is so advanced it can improve itself and outperform human beings.
He claims those that could create the AI which may do this, are those that are skilled in creating computer viruses, according to Sputnik News.
He told Wired "I fear that AI may replace humans altogether" as a programme could be made that can work completely without humans.
Hawking also said that the earth is starting to become too small for humans due to the speed the population is growing and "we are in danger of self-destructing.”
Therefore he claims we are in need of a new space programme which looks at colonising another planet.
The physicist has also previously given warnings about issues with AI. In October 2016 he said: "There is no deep difference between what can be achieved by a biological brain and what can be achieved by a computer,” according to The Cambridge News.
Hawking added: "Enormous levels of investment are pouring into this technology. The achievements we have seen so far will surely pale against what the coming decades will bring."
He also said that AI may one day create "powerful autonomous weapons, or new ways for the few to oppress the many."