At the end of the century , when Catholic king James II came to the throne , the Irish felt they had no choice but to back him .
When Catholic King James II came to the throne at the end of the century , the Irish backed him .