Who ruled England before Mary II?

James II