During the Ottoman Empire in Bulgaria people were not allowed to build anything higher than a man on a horse - no churches, houses and castles, of course. Most of the buildings were built half underground to have more space inside.