I was writing on the book ____ is mine when he arrived.

I was writing on the book ____ is mine when he arrived.

Explanation

We use which to refer to animals and to things.

Which is a Relative Pronoun here.