Israeli President Shimon Peres touted the role of technology as an instrument for peace during a talk Wednesday at the annual Launch Conference in San Francisco.
The brief appearance at the high-tech event marked the final day of Peres' four-day tour of San Francisco and the Silicon Valley, during which he visited some of the Bay Area's top tech companies.
He is the first incumbent Israeli president to visit the Bay Area.
Peres, 88, visited Facebook headquarters in Menlo Park on Tuesday and was set to tour Google headquarters in Mountain View later Wednesday afternoon.
Speaking to a few hundred high-tech entrepreneurs, investors and experts at the San Francisco Design Center Wednesday morning, Peres answered questions from Israeli high-tech entrepreneur Yossi Vardi and Launch Conference founder Jason Calacanis.
The president said he wanted to get a first-hand glimpse of the "new ideas" coming to life among the region's top tech companies and entrepreneurs during his visit.
During the talk, Peres unveiled his own official Facebook page, which he launched during his visit to the social networking company's headquarters.
The president's page has so far drawn tens of thousands of friends, Vardi said.
When asked about the threat of war with Iran, Peres stressed the need to exhaust all "bloodless" options, such as the current economic sanctions being imposed on the country, before launching any attacks.
However, he also echoed President Barack Obama's recent statement that "no options are off the table" and called Iran a terrorist center.
"If they were to acquire a nuclear bomb, it would be a real danger," he said.
The president's talk ended on a far lighter note with the unveiling of a rap video made for his new Facebook page.
In it, Peres urges those watching to "be my friend for peace" over a backdrop of synthesized beats.