Any help with understanding this sentence would be really appreciated. Here is the sentence:
No one could have predicted a new offshore race for natural resources, or changing alliances in which Turkey would abandon its long-time friend, Israel, which in turn would seek a partnership with the Republic of Cyprus.
What I haven't understood from this sentence is who was going to seek a partnership with the Republic of Cyprus? Is there a relative clause in the sentence that I didn't get and what does "which" refer to?