Perry sworn in for unprecedented third term