Writeacher, how would you check this sentence?

Prospero was his first king but now he pens Caliban up like a farm animal, so that he can't go anywhere he wants on the island. ("is anywhere he wants" possible??)

I hope you are still there.

First, I'd need to know who "he" is ... and are all those "he" references referring to the same character?

And yes, "anywhere he wants" is fine if it's clear who "he" is!!