The preset invention relates to a new oral anti-diabetic compound prepared by synthesizing a steroid and a guanide or biguanide, which is eliminated via the hepatic route, instead of the renal route, to avoid adverse effects of Metformin, such as renal dysfunction. A pharmaceutical composition comprising the compound of the invention and the method for treating diabetes using the compound are also provided.