There was no one single cause of the war; rather, there were a number of factors that led to England and France fighting each other for almost a decade in North America. One of these was the recent deposition of James II as King of England. James, a staunch Roman Catholic, had been removed from the throne over his attempts to re-Catholicize Great Britain, replaced by King William of Orange after the Glorious Revolution.
King Louis XIV of France, James's ally, sought to present himself as the champion of Catholic Europe. He was already at war with the League of Augsburg, an alliance of Protestant powers, and so was spoiling for a fight against what he regarded as the Protestant usurper William. Shortly after taking over the English throne from James, King William joined the League, yet was reluctant to become embroiled in a European war against the French. For their part, the French were equally reluctant to jeopardize their strategic position on the continent, so North America became the theater of conflict during King William's War.