This work focuses on neural entrainment to higher-level grammatical structure (Ding et al., Nature Neuroscience, 2016).Here we asked how this brain response emerges as learners acquire representations of such structure in a miniature language.