They diversified and became ecologically dominant during the Carboniferous and Permian periods, but were later displaced in terrestrial environments by early reptiles and basal synapsids (mammal predecessors).
ðeɪ daɪvˈɜːsᵻfˌaɪd ænd bɪkˌeɪm ˌɛkəlˈɑːdʒɪkli dˈɑːmɪnənt dˈʊɹɹɪŋ ðə kˌɑːɹbənˈɪfɚɹəs ænd pˈɜːmiən pˈiəɹɪədz, bˌʌt wɜː lˈeɪɾɚ dɪsplˈeɪst ɪn tɚɹˈɛstɹɪəl ɛnvˈaɪɹənmənts baɪ ˈɜːli ɹˈɛptaɪlz ænd bˈeɪsəl sˈɪnɐpsˌɪdz mˈæməl pɹˈɛdᵻsˌɛsɚz.