However, there were still large gaps compared with all pupils. Further, over the last ten years the proportion of looked after school leavers who left school in S4 or earlier has declined and attainment for school leavers who were looked after within the year has increased, especially at SCQF levels 4 and 5.