Aminoquinazolinyl compounds of formula (I) are described, which are useful as prolyl hydroxylase inhibitors. Such compounds may be used in pharmaceutical compositions and methods for the treatment of disease states, disorders, and conditions mediated by prolyl hydroxylase activity. Thus, the compounds may be administered to treat, e.g., anemia, vascular disorders, metabolic disorders, and wound healing.