The oldest gates in stone were constructed by protruding the layers bit by bit, as you can do with Lego stones. THis principle is called a cantilever construction.
This principle was also used to construct large corridors inside the Egyptian piramids to reduce the span width.