channels of exit from the basal ganglia originate from the internal pallidal segment , the pars reticulata of the substantia nigra , and the subthalamic nucleus , and each of these is directed in part rostrally to the cerebral cortex by way of the thalamus , in part caudally to the midbrain .
C0004781
basal ganglia
C0152355
subthalamic nucleus