A second attempt at flight , on 23 December , was successful ; William deliberately allowed James to escape to France where he lived in exile until his death .
This second attempt was successful , and James escaped to France .