A new synthesis of substituted 1H-indazoles and 1H-pyrazoles from arylhydrazones via FeBr(3)/O(2) mediated C-H activation/C-N bond formation reactions is reported. The corresponding 1,3-diaryl-substituted indazoles and trisubstituted pyrazoles were obtained in moderate to excellent yields under mild conditions.