Mary Anne Wiley has been named Gov. Rick Perry's new general counsel. She had served as deputy general counsel and director of criminal justice policy for the office since 2001 and replaces David Morales, who has accepted a position outside the governor's office.