Is the next sentence syntactically and semantically acceptable?

I gave a gun to my brother which I had cleaned.
acceptable