This doctoral thesis investigated how neuronal ensembles in the primate lateral prefrontal cortex (LPFC) underlie attentional filtering under different behavioral conditions. The thesis first showed that ensemble activity in the LPFC correlates with behavior in a task where difficulty was manipulated, and that ensembles encoded attended stimuli more efficiently in easier trials. Second, it found that LPFC ensembles encode both spatial and non-spatial features of attended stimuli more efficiently than single units. Finally, it examined how the spatial arrangement of stimuli impacts attention, finding impaired performance and filtering when stimuli were in the same hemifield, potentially due to changes in neuronal correlations.