Does "On May 9, 2011, Shriver and Schwarzenegger ended their relationship after 25 years of marriage, with Shriver moving out of the couple's Brentwood mansion." contain the correct answer to "How long were Schwarzenegger and Shriver married?"
yes