Terrabacteria

Terrabacteria is a taxon containing approximately two-thirds (6,157 sp.) of prokaryote species, including those in the gram positive phyla (Actinobacteria and Firmicutes) as well as the phyla Cyanobacteria, Chloroflexi, and Deinococcus-Thermus.
It derives its name ("terra" = "land") from the evolutionary pressures of life on land. Terrabacteria possess important adaptations such as resistance to environmental hazards (e.g., desiccation, ultraviolet radiation, and high salinity) and oxygenic photosynthesis. Also, the unique properties of the cell wall in gram-positive taxa, which likely evolved in response to terrestrial conditions, have contributed toward pathogenicity in many species. These results now leave open the possibility that terrestrial adaptations may have played a larger role in prokaryote evolution than currently understood.
Terrabacteria was proposed in 2004 for Actinobacteria, Cyanobacteria, and "Deinococccus-Thermus" and was expanded later to include Firmicutes and Chloroflexi. Other phylogenetic analyses have supported the close relationships of these phyla. Most species of prokaryotes not placed in Terrabacteria were assigned to the taxon "Hydrobacteria" (3,203 sp.), in reference to the moist environment inferred for the common ancestor of those species. Terrabacteria and Hydrobacteria were inferred to have diverged approximately 3 billion years ago, suggesting that land (continents) had been colonized by prokaryotes at that time. Together, Terrabacteria and Hydrobacteria form a large group containing 99% (9,360 sp.) of all Eubacteria known by 2009, and placed in the taxon Selabacteria, in allusion to their phototrophic abilities ("selas" = light). 
Terrabacteria should not be confused with the recently described taxon "Glidobacteria", which includes only some members of Terrabacteria but excludes Firmicutes and Actinobacteria, and is not supported by molecular phylogenetic data.
Phylogeny.
The phylogenetic tree according to the phylogenetic analyzes of Battistuzzi (2009) is the following and with a molecular clock calibration.
Recent molecular analyzes have found roughly the following relationships including other phyla, whose relationships were uncertain.
On the other hand, Coleman et al (2020) named the clade composed of Thermotogae, Deinococcus-Thermus, Synergistetes and related as DST and furthermore the analysis suggests that ultra-small bacteria (CPR group) may belong to Terrabacteria being more closely related to Chloroflexi. According to this study the phylum Aquificae sometimes included belongs to Gracilicutes and that the phylum Fusobacteria can belong to both Terrabacteria and Gracilicutes. The result was the following:
It is possible that Terrabacteria is also a paraphyletic clade according to other phylogenetic analyzes.