Students in Brazil are typically assigned to classes based on the age ranking in their cohort. I exploit this rule to estimate how fifth-grade students' achievement in mathematics is affected when ...