HOUSTON — Surgery for the Houston Police K-9 battling bone cancer went well, the department said Friday.

T-Rex underwent surgery to amputate one of his legs.  

In the post to Twitter on Friday, the department quoted Officer Paul Foster, T-Rex’s handler.

"Surgery went very well!! I am waiting to go back and see him,” the post states. “Thank you all for the messages and posts! It has been so great to have so many people behind us!”

T-Rex was taken to College Station a few weeks ago and his doctors at Texas A&M said T-Rex would most likely need to lose his leg to live a full life.

Although T-Rex won't be on patrol with Foster anymore, he isn't retiring from the force just yet. 

Doctors say the goal is to get T-Rex back to doing what he was before the surgery and they like his chances.

RELATED: HPD's 'T-Rex' K-9 officer to lose leg in cancer battle

► Make it easy to keep up-to-date. Download the KHOU News app now.

Have a news tip? Email us or message us on our Facebook page or Twitter feed.