U.S. Supreme Court Justice Sonia Sotomayor paid a virtual visit to students Thursday in Albany, weighing in on social media, artificial intelligence’s impact on the legal community and her biggest challenges on the high court.

“We have two wars going on,” Sotomayor said at the New York State Bar Association’s civics convocation. “We have problems with health and education. We have difficulties in our political realm. We have not created a world that I had wanted to create when I was your age.”