(CNN) - Texas Gov. Rick Perry railed Friday against Pres. Barack Obama Friday for appointing "activist judges" to the Supreme Court, but stumbled when he couldn't remember Justice Sonya Sotomayor's name. At another point he tripped up over the number of justices on the nation's highest court.
Perry, speaking to the Des Moines Register, was defending a controversial campaign ad when he slipped up.
"When you see his appointment of two, from my perspective, inarguably activist judges, whether it was…," Perry said, trailing off as he struggled to come up with Sotomayor's name.
At one point, Perry threw out, "Montemayor."
After about 5 seconds, an editorial board member from the Des Moines Register offered Sotomayor's name, and Perry quickly regained his train of thought.
"Sotomayor, and Kagan, are both activists judges, and I would suggest to you that is an example of my concern about, I believe the Supreme Court should not be making legislative decisions and telling Americans how to live."
At another point in the meeting with the newspaper's editorial board, Perry mistakenly suggested there were eight justices on the bench, rather than nine.
"For Washington to tell a local school district that you cannot have prayer and a time of prayer in school is, I think, offensive to most Americans," Perry said. "I trust the people of the states to make those decisions. I trust those independent school districts to make those decisions better than eight unelected, and frankly unaccountable judges," Perry said.