This invention relates to a transition metal mediated process for the preparation of optionally substituted 2-amino-benzoxazoles and or 2-amino-benzimidazoles, which are useful as therapeutic agents or as intermediates in the synthesis of therapeutic agents.