Palin was McCain's running mate during his 2008 presidential bid, which he lost to President Barack Obama. He later wrote in his new book "The Restless Wave: Good Times, Just Causes, Great Fights, and Other Appreciations," which was released in May, that he regretted picking Palin for the ticket and instead wished he had chosen Independent Sen. Joe Lieberman.
"John McCain was my friend. I will remember the good times," Palin said in a social media post after his death.
He was a “maverick and a fighter, never afraid to stand for his beliefs,” she said.
Two memorial services were planned for McCain. The first was held Wednesday at the Arizona state Capitol. The second is scheduled for Saturday at the Washington National Cathedral.
McCain, the longtime Arizona senator and Vietnam war hero, died Saturday from brain cancer, a day after his family announced he had stopped receiving medical treatment. He was 81 years old, dying just a few days before his 82nd birthday.