Pope Francis attended a Vatican conference last week and discussed what he sees as the moral and ethical issues that accompany technological advances, especially AI.

"The Common Good in the Digital Age" conference held sessions like "The Common Good: Seeking Shared Values" and "Peacebuilding, technology, and the future of warfare," and the Vatican invited theologians, academics, and tech executives to speak.

Mozilla cofounder and executive chairwoman Mitchell Baker and Gavin Corn, director of Facebook's cyber security law team, were a few of the Silicon Valley representatives who sat on panels.

The conference was scheduled for September 26-28, and Pope Francis spoke to the attendees on September 27.

"The remarkable developments in the field of technology, in particular those dealing with artificial intelligence, raise increasingly significant implications in all areas of human activity," he said at the conference, according to Reuters. "For this reason, open and concrete discussions on this theme are needed now more than ever."

He also warned of potential moral problems new technologies can introduce.

"If mankind's so-called technological progress were to become an enemy of the common good, this would lead to an unfortunate regression to a form of barbarism dictated by the law of the strongest," he said, according to Reuters.

Vatican officials suggested that this conference could be used for a future papal document on artificial intelligence. The Vatican has worked this way before, consulting with scientists and policy makers before releasing 2015's "Laudato Si: On Care for Our Common Home," an encyclical on the environment and climate change.