Provided herein are compositions and methods of treating a metabolic disease, such as diabetes and hyperlipidemia, in a subject, by administering to the subject a therapeutically effective amount of a polypeptide derived from hepatitis B virus or a pharmaceutical composition comprising the polypeptide.