After abandonment many limestone grasslands have been overgrown by trees and shrubs; as a result, species-rich communities with many regionally rare and endangered species are vanishing. Some studies suggest that, in cases where grassland is being restored, the species composition and rate of change is strongly dependent on the initial conditions, i.e. the earlier presence of grassland species and the opportunity for colonization of new sites by grassland species. These hypotheses were tested in a five-year restoration experiment after the clearing of a 35-yr-old secondary pine wood developed on abandoned grassland. Tree cutting induced rapid changes in the floristic composition and species cover. The number of grassland species from the class Festuco-Brometea increased significantly in the restored grassland, but their cover was much lower than in the old grassland. Canonical Correspondence Analysis showed significant differences in species composition between the grassland restored in former wood gaps and that developed in former closed wood In wood gap sites the cover of species from the class Molinio-Arrhenatheretea and tufted perennials was much higher, whereas the cover of Festuco-Brometea species was lower. Significantly more shrubs, woodland species, ruderal and nitrophilous species as well as annual and biennial species occurred in the former dosed wood site. It was found that richness and composition of the restored grassland depended strongly on the community composition before tree cutting, as well as on the presence of grassland species in the neighbourhood. Periodical tree cutting enables the maintenance of a temporal-spatial mosaic of scrub-grassland communities in isolated habitats and the preservation of local species diversity.