The settlement developed around the church of Saint Dimitrios was the original web of the village of Brahami during the
interwar period. In the Turkish occupation, but also after the liberation, all
Alimos, and not only, was a vast estate. The beginning was at St. John at Kareas and extended to Kavouri. The area, including the agricultural village, belonged to Braham Pasha - by which Agios Dimitrios is also called Brahami - and to Hassan Pasha, from which came the name Hassani. All this property was divided into parcels, which the municipality of Athens, to which it belonged, donated or sold. This resulted in the creation of various settlements. The Community of Brahami was founded in 1925. Until then the village of Brahami belonged to the municipality of Athens. By Decree of 1925, Brahami was administered autonomously by the Athenian municipality and was a community comprising the settlements of Brahami, Agia Varvara, Katsipodi (
Dafni today), Pikrodafni and Agios Kosmas. In 1928 the community was renamed Agios Dimitrios. It was converted into a municipality of Agios Dimitrios, which was based in Daphne in 1942. In 1947, with the Decree issued on September 5, 1947, the settlement of Agios Dimitrios was seized by the Municipality of
Dafni and formed into a separate homonymous community, which included exclusively Brahami. The final adjustment was made in 1963, when the then Home Secretary G. Rallis on 15 March approved the conversion of the Community of Agios Dimitrios into a homonymous municipality, as it is today. ==Historical population==