For 30 years the bear was held in a cage