In this paper, we formulate two new classes of black hole solutions in higher curvature quartic quasitopological gravity with nonabelian Yang-Mills theory. At first step, consider the $SO(n)$ and $SO(n-1,1)$ semisimple gauge groups. We obtain analytic solutions. Real are only accessible for positive value redefined coefficient, $\mu_{4}$. These have a finite an essential singularity at origin, ...