1<!DOCTYPE html><!--m1kvZGMTa1xoiyyGNsuC5--><html lang="en" class="dark"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" href="/_next/static/media/01e4147cff8141ee-s.p.7787e134.woff2" as="font" crossorigin="" type="font/woff2"/><link rel="preload" href="/_next/static/media/83afe278b6a6bb3c-s.p.3a6ba036.woff2" as="font" crossorigin="" type="font/woff2"/><link rel="preload" as="image" href="https://api.citelens.ai/badge/geo-ready-dark.png"/><link rel="stylesheet" href="/_next/static/chunks/bcb4539fedac7a2c.css?dpl=dpl_EEjbe4kpwvcAs2r9Lv5vcEs3pZYM" data-precedence="next"/><link rel="stylesheet" href="/_next/static/chunks/ad8c92f4c2293643.css?dpl=dpl_EEjbe4kpwvcAs2r9Lv5vcEs3pZYM" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/6e46535113110313.js?dpl=dpl_EEjbe4kpwvcAs2r9Lv5vcEs3pZYM"/>
1<script src="/_next/static/chunks/b4443f04c8734d40.js?dpl=dpl_EEjbe4kpwvcAs2r9Lv5vcEs3pZYM" async=""></script>
1<script src="/_next/static/chunks/0372a4f33bbd0a83.js?dpl=dpl_EEjbe4kpwvcAs2r9Lv5vcEs3pZYM" async=""></script>
1<script src="/_next/static/chunks/2cc7b0953aa68771.js?dpl=dpl_EEjbe4kpwvcAs2r9Lv5vcEs3pZYM" async=""></script>
1<script src="/_next/static/chunks/27e71a6304e44ae6.js?dpl=dpl_EEjbe4kpwvcAs2r9Lv5vcEs3pZYM" async=""></script>
1<script src="/_next/static/chunks/turbopack-7aee3a7d53c4134b.js?dpl=dpl_EEjbe4kpwvcAs2r9Lv5vcEs3pZYM" async=""></script>
1<script src="/_next/static/chunks/1d1acb57b5c0a0bc.js?dpl=dpl_EEjbe4kpwvcAs2r9Lv5vcEs3pZYM" async=""></script>
1<script src="/_next/static/chunks/3337476739009024.js?dpl=dpl_EEjbe4kpwvcAs2r9Lv5vcEs3pZYM" async=""></script>
1<script src="/_next/static/chunks/796e7f5bb07ad38d.js?dpl=dpl_EEjbe4kpwvcAs2r9Lv5vcEs3pZYM" async=""></script>
1<script src="/_next/static/chunks/c10801a7114b0af9.js?dpl=dpl_EEjbe4kpwvcAs2r9Lv5vcEs3pZYM" async=""></script>
1<script src="/_next/static/chunks/05d780e6706c90de.js?dpl=dpl_EEjbe4kpwvcAs2r9Lv5vcEs3pZYM" async=""></script>
1<script src="/_next/static/chunks/2d88ce5471736b34.js?dpl=dpl_EEjbe4kpwvcAs2r9Lv5vcEs3pZYM" async=""></script>
1<script src="/_next/static/chunks/952f836bbce25916.js?dpl=dpl_EEjbe4kpwvcAs2r9Lv5vcEs3pZYM" async=""></script>
1<script src="https://analytics.ahrefs.com/analytics.js" data-key="kA6D1zEQtRAWu8xZGmXM/Q" async=""></script>
1<link rel="preload" href="https://emrldtp.com/NTEzNTE2.js?t=513516" as="script"/><link rel="preload" href="https://widgets.bokun.io/assets/javascripts/apps/build/BokunWidgetsLoader.js?bookingChannelUUID=661521c6-b13a-4b82-96cd-52c1ac8431e2" as="script"/><link rel="preload" href="https://www.googletagmanager.com/gtag/js?id=G-N3SGWFEW1B" as="script"/><meta name="next-size-adjust" content=""/><title>History of Hagia Sophia â From 537 AD to Today</title><meta name="description" content="The complete history of Hagia Sophia: Byzantine cathedral, Ottoman mosque, museum, and its reconversion in 2020. 1,500 years of world history."/><meta name="keywords" content="hagia sophia history, history of hagia sophia, hagia sophia timeline, byzantine cathedral history"/><meta name="robots" content="index, follow"/><meta name="googlebot" content="index, follow, max-video-preview:-1, max-image-preview:large, max-snippet:-1"/><link rel="canonical" href="https://www.hagiasophia.com/history"/><link rel="alternate" hrefLang="en" href="https://www.hagiasophia.com/history"/><link rel="alternate" hrefLang="tr" href="https://www.hagiasophia.com/tr/ayasofya-tarihi"/><link rel="alternate" hrefLang="x-default" href="https://www.hagiasophia.com/history"/><meta property="og:title" content="History of Hagia Sophia â From 537 AD to Today"/><meta property="og:description" content="The complete history of Hagia Sophia: Byzantine cathedral, Ottoman mosque, museum, and its reconversion in 2020."/><meta property="og:locale" content="en_US"/><meta property="og:type" content="website"/><meta name="twitter:card" content="summary_large_image"/><meta name="twitter:title" content="Hagia Sophia â Complete Guide to Istanbul's Greatest Monument"/><meta name="twitter:description" content="Explore 1,500 years of history. Visitor info, tickets, hours, architecture, mosaics, and tips to plan your Hagia Sophia visit."/><link rel="shortcut icon" href="/favicon.jpg"/><link rel="icon" href="/favicon.jpg" type="image/png"/><link rel="apple-touch-icon" href="/favicon.jpg"/>
1<script src="/_next/static/chunks/a6dad97d9634a72d.js?dpl=dpl_EEjbe4kpwvcAs2r9Lv5vcEs3pZYM" noModule=""></script>
1</head><body class="cormorant_garamond_f767a74-module__g98QpG__variable inter_5901b7c6-module__ec5Qua__variable font-sans antialiased"><div hidden=""><!--$--><!--/$--></div>
1<script type="application/ld+json">{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://www.hagiasophia.com"},{"@type":"ListItem","position":2,"name":"History","item":"https://www.hagiasophia.com/history"}]}</script>
1<header class="fixed top-0 left-0 right-0 z-50 transition-all duration-500 bg-transparent" dir="ltr"><nav class="mx-auto max-w-7xl px-4 sm:px-6 lg:px-8"><div class="flex h-20 items-center justify-between"><a class="flex items-center gap-3" href="/"><div class="flex flex-col"><span class="text-2xl font-semibold tracking-wider text-primary">HAGIA SOPHIA</span></div></a><div class="hidden lg:flex lg:items-center lg:gap-8"><a class="text-sm font-medium text-foreground/80 hover:text-primary transition-colors" href="/">Home</a><button type="button" id="radix-_R_955fiutb_" aria-haspopup="menu" aria-expanded="false" data-state="closed" data-slot="dropdown-menu-trigger" class="flex items-center gap-1 text-sm font-medium text-foreground/80 hover:text-primary transition-colors">Discover<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chevron-down h-4 w-4"><path d="m6 9 6 6 6-6"></path></svg></button><a class="text-sm font-medium text-foreground/80 hover:text-primary transition-colors" href="/articles">Articles</a><a class="text-sm font-medium text-foreground/80 hover:text-primary transition-colors" href="/gallery">Gallery</a><a href="https://tour.hagiasophia.com" target="_blank" rel="noopener noreferrer" class="text-sm font-medium text-foreground/80 hover:text-primary transition-colors">Tour</a></div><div class="hidden lg:flex lg:items-center lg:gap-4"><button type="button" id="radix-_R_5l5fiutb_" aria-haspopup="menu" aria-expanded="false" data-state="closed" data-slot="dropdown-menu-trigger" class="flex items-center gap-2 text-sm text-muted-foreground hover:text-foreground transition-colors"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-globe h-4 w-4"><circle cx="12" cy="12" r="10"></circle><path d="M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20"></path><path d="M2 12h20"></path></svg><span>ð¬ð§<!-- --> <!-- -->EN</span></button><button type="button" class="bokunButton inline-block px-5 py-2.5 rounded-md font-semibold text-sm text-white bg-[#daa34f] hover:bg-[#b67d26] active:bg-[#cb8c2b] border-none cursor-pointer transition-colors" data-src="https://widgets.bokun.io/online-sales/661521c6-b13a-4b82-96cd-52c1ac8431e2/experience/1273236?partialView=1&lang=en" data-testid="widget-book-button">Book now</button></div><button class="lg:hidden p-2 text-foreground" aria-label="Toggle menu"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-menu h-6 w-6"><line x1="4" x2="20" y1="12" y2="12"></line><line x1="4" x2="20" y1="6" y2="6"></line><line x1="4" x2="20" y1="18" y2="18"></line></svg></button></div></nav></header><main><section class="relative pt-32 pb-24 overflow-hidden" dir="ltr"><div class="absolute inset-0"><div class="absolute inset-0 bg-cover bg-center opacity-30" style="background-image:url('/images/scale-deesis-1-2048x1668.jpg')"></div><div class="absolute inset-0 bg-gradient-to-b from-background via-background/95 to-background"></div></div><div class="relative z-10 mx-auto max-w-7xl px-4 sm:px-6 lg:px-8"><div class="max-w-3xl"><span class="text-xs tracking-[0.25em] uppercase text-primary">A Monument Through Time</span><h1 class="mt-4 text-4xl sm:text-5xl lg:text-6xl font-semibold tracking-tight text-foreground">1500 Years of History</h1><p class="mt-6 text-lg text-muted-foreground leading-relaxed">From its consecration as the greatest cathedral in Christendom to its transformation into an imperial mosque and its role today as one of the world's most visited monuments, Hagia Sophia has witnessed the rise and fall of empires, the clash of civilizations, and the enduring power of human creativity.</p></div><div class="mt-12 grid grid-cols-2 md:grid-cols-4 gap-8"><div class="text-center"><span class="block text-4xl sm:text-5xl font-semibold text-primary">537</span><span class="block mt-2 text-sm text-muted-foreground">Year Completed</span></div><div class="text-center"><span class="block text-4xl sm:text-5xl font-semibold text-primary">916</span><span class="block mt-2 text-sm text-muted-foreground">Years as Cathedral</span></div><div class="text-center"><span class="block text-4xl sm:text-5xl font-semibold text-primary">481</span><span class="block mt-2 text-sm text-muted-foreground">Years as Mosque</span></div><div class="text-center"><span class="block text-4xl sm:text-5xl font-semibold text-primary">86</span><span class="block mt-2 text-sm text-muted-foreground">Years as Museum</span></div></div></div></section><section class="py-24 bg-card" dir="ltr"><div class="mx-auto max-w-7xl px-4 sm:px-6 lg:px-8"><div class="text-center mb-16"><span class="text-xs tracking-[0.25em] uppercase text-primary">Key Moments</span><h2 class="mt-4 text-3xl sm:text-4xl font-semibold tracking-tight text-foreground">Timeline of Events</h2></div><div class="relative"><div class="absolute left-4 md:left-1/2 top-0 bottom-0 w-px bg-border md:-translate-x-1/2"></div><div class="space-y-12"><div class="relative flex items-start gap-8 md:flex-row"><div class="flex-1 pl-12 md:pl-0 md:pr-16 md:text-right"><span class="text-3xl font-semibold text-primary">532</span>
1<h3 class="mt-2 text-xl font-semibold text-foreground">Construction Begins</h3><p class="mt-2 text-muted-foreground leading-relaxed">Emperor Justinian I commissions the construction of a new cathedral following the destruction of the previous church during the Nika riots.</p></div><div class="absolute left-4 md:left-1/2 w-3 h-3 bg-primary rounded-full md:-translate-x-1/2 mt-3"></div><div class="hidden md:block flex-1"></div></div><div class="relative flex items-start gap-8 md:flex-row-reverse"><div class="flex-1 pl-12 md:pl-16"><span class="text-3xl font-semibold text-primary">537</span><h3 class="mt-2 text-xl font-semibold text-foreground">Grand Consecration</h3><p class="mt-2 text-muted-foreground leading-relaxed">Hagia Sophia is completed in just 5 years. Upon entering, Justinian reportedly exclaims, "Solomon, I have outdone thee!"</p></div><div class="absolute left-4 md:left-1/2 w-3 h-3 bg-primary rounded-full md:-translate-x-1/2 mt-3"></div><div class="hidden md:block flex-1"></div></div><div class="relative flex items-start gap-8 md:flex-row"><div class="flex-1 pl-12 md:pl-0 md:pr-16 md:text-right"><span class="text-3xl font-semibold text-primary">558</span><h3 class="mt-2 text-xl font-semibold text-foreground">First Dome Collapse</h3><p class="mt-2 text-muted-foreground leading-relaxed">An earthquake causes the original shallow dome to partially collapse. A new, taller dome is constructed over the next five years.</p></div><div class="absolute left-4 md:left-1/2 w-3 h-3 bg-primary rounded-full md:-translate-x-1/2 mt-3"></div><div class="hidden md:block flex-1"></div></div><div class="relative flex items-start gap-8 md:flex-row-reverse"><div class="flex-1 pl-12 md:pl-16"><span class="text-3xl font-semibold text-primary">726-843</span><h3 class="mt-2 text-xl font-semibold text-foreground">Iconoclasm Period</h3><p class="mt-2 text-muted-foreground leading-relaxed">Many religious images are destroyed or plastered over during the Byzantine Iconoclasm. Some mosaics date from the restoration period that followed.</p></div><div class="absolute left-4 md:left-1/2 w-3 h-3 bg-primary rounded-full md:-translate-x-1/2 mt-3"></div><div class="hidden md:block flex-1"></div></div><div class="relative flex items-start gap-8 md:flex-row"><div class="flex-1 pl-12 md:pl-0 md:pr-16 md:text-right"><span class="text-3xl font-semibold text-primary">1204</span><h3 class="mt-2 text-xl font-semibold text-foreground">Fourth Crusade</h3><p class="mt-2 text-muted-foreground leading-relaxed">Crusaders sack Constantinople and loot Hagia Sophia. The church is converted to a Roman Catholic cathedral until 1261.</p></div><div class="absolute left-4 md:left-1/2 w-3 h-3 bg-primary rounded-full md:-translate-x-1/2 mt-3"></div><div class="hidden md:block flex-1"></div></div><div class="relative flex items-start gap-8 md:flex-row-reverse"><div class="flex-1 pl-12 md:pl-16"><span class="text-3xl font-semibold text-primary">1453</span><h3 class="mt-2 text-xl font-semibold text-foreground">Ottoman Conquest</h3><p class="mt-2 text-muted-foreground leading-relaxed">Sultan Mehmed II conquers Constantinople and converts Hagia Sophia into a mosque. The first Islamic prayer is held on Friday, June 1st.</p></div><div class="absolute left-4 md:left-1/2 w-3 h-3 bg-primary rounded-full md:-translate-x-1/2 mt-3"></div><div class="hidden md:block flex-1"></div></div><div class="relative flex items-start gap-8 md:flex-row"><div class="flex-1 pl-12 md:pl-0 md:pr-16 md:text-right"><span class="text-3xl font-semibold text-primary">1481-1512</span><h3 class="mt-2 text-xl font-semibold text-foreground">Minarets Added</h3><p class="mt-2 text-muted-foreground leading-relaxed">Sultan Bayezid II adds the first minaret. Additional minarets are constructed over the following decades, giving the building its iconic silhouette.</p></div><div class="absolute left-4 md:left-1/2 w-3 h-3 bg-primary rounded-full md:-translate-x-1/2 mt-3"></div><div class="hidden md:block flex-1"></div></div><div class="relative flex items-start gap-8 md:flex-row-reverse"><div class="flex-1 pl-12 md:pl-16"><span class="text-3xl font-semibold text-primary">1847-1849</span>
1<h3 class="mt-2 text-xl font-semibold text-foreground">Fossati Restoration</h3><p class="mt-2 text-muted-foreground leading-relaxed">Swiss architects Gaspare and Giuseppe Fossati conduct a major restoration, uncovering and documenting many Byzantine mosaics.</p></div><div class="absolute left-4 md:left-1/2 w-3 h-3 bg-primary rounded-full md:-translate-x-1/2 mt-3"></div><div class="hidden md:block flex-1"></div></div><div class="relative flex items-start gap-8 md:flex-row"><div class="flex-1 pl-12 md:pl-0 md:pr-16 md:text-right"><span class="text-3xl font-semibold text-primary">1934</span><h3 class="mt-2 text-xl font-semibold text-foreground">Secularization</h3><p class="mt-2 text-muted-foreground leading-relaxed">By decree of Mustafa Kemal Atatürk, Hagia Sophia is converted into a museum, opening its treasures to visitors of all faiths.</p></div><div class="absolute left-4 md:left-1/2 w-3 h-3 bg-primary rounded-full md:-translate-x-1/2 mt-3"></div><div class="hidden md:block flex-1"></div></div><div class="relative flex items-start gap-8 md:flex-row-reverse"><div class="flex-1 pl-12 md:pl-16"><span class="text-3xl font-semibold text-primary">2020</span><h3 class="mt-2 text-xl font-semibold text-foreground">Return to Mosque</h3><p class="mt-2 text-muted-foreground leading-relaxed">Hagia Sophia is reconverted into a mosque while remaining open to visitors outside of prayer times.</p></div><div class="absolute left-4 md:left-1/2 w-3 h-3 bg-primary rounded-full md:-translate-x-1/2 mt-3"></div><div class="hidden md:block flex-1"></div></div></div></div></div></section><section class="py-24 bg-background" dir="ltr"><div class="mx-auto max-w-7xl px-4 sm:px-6 lg:px-8"><div class="text-center mb-16"><span class="text-xs tracking-[0.25em] uppercase text-primary">Three Distinct Periods</span><h2 class="mt-4 text-3xl sm:text-4xl font-semibold tracking-tight text-foreground">Eras of Transformation</h2></div><div class="space-y-24"><article class="flex flex-col lg:flex-row gap-12 items-center"><div class="flex-1 w-full"><div class="relative aspect-[4/3] overflow-hidden rounded-lg"><div class="absolute inset-0 bg-cover bg-center" style="background-image:url('/images/comnenus-mosaic.jpg')"></div><div class="absolute inset-0 bg-gradient-to-t from-background/80 via-transparent to-transparent"></div><div class="absolute bottom-6 left-6"><span class="inline-block px-4 py-2 text-sm font-medium text-primary bg-background/90 backdrop-blur-sm rounded">537 - 1453 CE</span></div></div></div><div class="flex-1"><h3 class="text-3xl font-semibold text-foreground">The Byzantine Era</h3><p class="mt-4 text-muted-foreground leading-relaxed">For nearly a millennium, Hagia Sophia served as the cathedral of Constantinople and the center of Eastern Orthodox Christianity. It witnessed coronations of emperors, ecumenical councils, and the daily devotions of Byzantine society.</p><ul class="mt-6 space-y-3"><li class="flex items-start gap-3"><span class="mt-2 w-1.5 h-1.5 bg-primary rounded-full flex-shrink-0"></span><span class="text-foreground/80">Largest cathedral in the world for nearly 1,000 years</span></li><li class="flex items-start gap-3"><span class="mt-2 w-1.5 h-1.5 bg-primary rounded-full flex-shrink-0"></span><span class="text-foreground/80">Center of Byzantine religious and political life</span></li><li class="flex items-start gap-3"><span class="mt-2 w-1.5 h-1.5 bg-primary rounded-full flex-shrink-0"></span><span class="text-foreground/80">Revolutionary dome construction techniques</span></li><li class="flex items-start gap-3"><span class="mt-2 w-1.5 h-1.5 bg-primary rounded-full flex-shrink-0"></span><span class="text-foreground/80">Magnificent gold mosaics depicting Christ, the Virgin Mary, and saints</span></li></ul><a data-slot="button" class="inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive border shadow-xs hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50 h-9 px-4 py-2 has-[>svg]:px-3 mt-8 gap-2 border-primary/30 text-foreground hover:bg-primary/10 bg-transparent" href="/articles?tag=byzantine">Explore<!-- --> <!-- -->The Byzantine Era<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-arrow-right h-4 w-4"><path d="M5 12h14"></path><path d="m12 5 7 7-7 7"></path></svg></a></div></article><article class="flex flex-col lg:flex-row-reverse gap-12 items-center"><div class="flex-1 w-full"><div class="relative aspect-[4/3] overflow-hidden rounded-lg"><div class="absolute inset-0 bg-cover bg-center" style="background-image:url('/images/interior-view-2.webp')"></div><div class="absolute inset-0 bg-gradient-to-t from-background/80 via-trans
1parent to-transparent"></div><div class="absolute bottom-6 left-6"><span class="inline-block px-4 py-2 text-sm font-medium text-primary bg-background/90 backdrop-blur-sm rounded">1453 - 1934 CE</span></div></div></div><div class="flex-1"><h3 class="text-3xl font-semibold text-foreground">The Ottoman Era</h3><p class="mt-4 text-muted-foreground leading-relaxed">Following the conquest of Constantinople by Sultan Mehmed II, Hagia Sophia was transformed into an imperial mosque. The Ottomans added minarets, mihrabs, and enormous calligraphic medallions while preserving much of the Byzantine structure.</p><ul class="mt-6 space-y-3"><li class="flex items-start gap-3"><span class="mt-2 w-1.5 h-1.5 bg-primary rounded-full flex-shrink-0"></span><span class="text-foreground/80">Addition of four minarets creating iconic silhouette</span></li><li class="flex items-start gap-3"><span class="mt-2 w-1.5 h-1.5 bg-primary rounded-full flex-shrink-0"></span><span class="text-foreground/80">Installation of magnificent Islamic calligraphy</span></li><li class="flex items-start gap-3"><span class="mt-2 w-1.5 h-1.5 bg-primary rounded-full flex-shrink-0"></span><span class="text-foreground/80">Construction of sultan's loge and mihrab</span></li><li class="flex items-start gap-3"><span class="mt-2 w-1.5 h-1.5 bg-primary rounded-full flex-shrink-0"></span><span class="text-foreground/80">Multiple restorations preserving both Islamic and Christian elements</span></li></ul><a data-slot="button" class="inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive border shadow-xs hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50 h-9 px-4 py-2 has-[>svg]:px-3 mt-8 gap-2 border-primary/30 text-foreground hover:bg-primary/10 bg-transparent" href="/articles?tag=ottoman">Explore<!-- --> <!-- -->The Ottoman Era<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-arrow-right h-4 w-4"><path d="M5 12h14"></path><path d="m12 5 7 7-7 7"></path></svg></a></div></article><article class="flex flex-col lg:flex-row gap-12 items-center"><div class="flex-1 w-full"><div class="relative aspect-[4/3] overflow-hidden rounded-lg"><div class="absolute inset-0 bg-cover bg-center" style="background-image:url('/images/interior-view-3.webp')"></div><div class="absolute inset-0 bg-gradient-to-t from-background/80 via-transparent to-transparent"></div><div class="absolute bottom-6 left-6"><span class="inline-block px-4 py-2 text-sm font-medium text-primary bg-background/90 backdrop-blur-sm rounded">1934 - Present</span></div></div></div><div class="flex-1"><h3 class="text-3xl font-semibold text-foreground">The Modern Era</h3><p class="mt-4 text-muted-foreground leading-relaxed">In 1934, under Atatürk's reforms, Hagia Sophia was secularized and opened as a museum. In 2020, it was reconverted to a mosque while remaining accessible to all visitors, continuing its role as a bridge between cultures.</p><ul class="mt-6 space-y-3"><li class="flex items-start gap-3"><span class="mt-2 w-1.5 h-1.5 bg-primary rounded-full flex-shrink-0"></span><span class="text-foreground/80">UNESCO World Heritage Site designation</span></li><li class="flex items-start gap-3"><span class="mt-2 w-1.5 h-1.5 bg-primary rounded-full flex-shrink-0"></span><span class="text-foreground/80">Extensive restoration and conservation efforts</span></li><li class="flex items-start gap-3"><span class="mt-2 w-1.5 h-1.5 bg-primary rounded-full flex-shrink-0"></span><span class="text-foreground/80">Millions of visitors annually from around the world</span></li><li class="flex items-start gap-3"><span class="mt-2 w-1.5 h-1.5 bg-primary rounded-full flex-shrink-0"></span>
1<span class="text-foreground/80">Ongoing archaeological and historical research</span></li></ul><a data-slot="button" class="inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive border shadow-xs hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50 h-9 px-4 py-2 has-[>svg]:px-3 mt-8 gap-2 border-primary/30 text-foreground hover:bg-primary/10 bg-transparent" href="/articles?tag=modern">Explore<!-- --> <!-- -->The Modern Era<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-arrow-right h-4 w-4"><path d="M5 12h14"></path><path d="m12 5 7 7-7 7"></path></svg></a></div></article></div></div></section><section class="py-16 lg:py-20 border-t border-border"><div class="mx-auto max-w-6xl px-4 sm:px-6 lg:px-8"><h2 class="text-2xl md:text-3xl font-semibold text-foreground mb-10 text-center">You Might Also Like</h2>
1<div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-5"><a class="group relative flex flex-col rounded-xl border border-border bg-card/50 p-5 transition-all duration-300 hover:border-primary/40 hover:bg-card hover:shadow-lg hover:shadow-primary/5" href="/architecture"><span class="mb-3 inline-block w-fit rounded-full bg-primary/10 px-2.5 py-0.5 text-[11px] font-medium uppercase tracking-wider text-primary">Architecture</span><h3 class="text-base font-semibold text-foreground group-hover:text-primary transition-colors leading-snug">Architecture</h3><p class="mt-2 text-sm text-muted-foreground line-clamp-2 leading-relaxed flex-1">How Isidore and Anthemius built the impossible dome.</p><div class="mt-4 flex items-center text-xs font-medium text-primary opacity-0 group-hover:opacity-100 transition-opacity">Read more <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-arrow-right ml-1 h-3 w-3"><path d="M5 12h14"></path><path d="m12 5 7 7-7 7"></path></svg></div></a><a class="group relative flex flex-col rounded-xl border border-border bg-card/50 p-5 transition-all duration-300 hover:border-primary/40 hover:bg-card hover:shadow-lg hover:shadow-primary/5" href="/hagia-sophia-before-and-after"><span class="mb-3 inline-block w-fit rounded-full bg-primary/10 px-2.5 py-0.5 text-[11px] font-medium uppercase tracking-wider text-primary">History</span><h3 class="text-base font-semibold text-foreground group-hover:text-primary transition-colors leading-snug">Before and After</h3><p class="mt-2 text-sm text-muted-foreground line-clamp-2 leading-relaxed flex-1">How Hagia Sophia transformed through 1,500 years.</p><div class="mt-4 flex items-center text-xs font-medium text-primary opacity-0 group-hover:opacity-100 transition-opacity">Read more <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-arrow-right ml-1 h-3 w-3"><path d="M5 12h14"></path><path d="m12 5 7 7-7 7"></path></svg></div></a><a class="group relative flex flex-col rounded-xl border border-border bg-card/50 p-5 transition-all duration-300 hover:border-primary/40 hover:bg-card hover:shadow-lg hover:shadow-primary/5" href="/hagia-sophia-museum-or-mosque"><span class="mb-3 inline-block w-fit rounded-full bg-primary/10 px-2.5 py-0.5 text-[11px] font-medium uppercase tracking-wider text-primary">Status</span><h3 class="text-base font-semibold text-foreground group-hover:text-primary transition-colors leading-snug">Mosque or Museum?</h3><p class="mt-2 text-sm text-muted-foreground line-clamp-2 leading-relaxed flex-1">The full story behind its status changes.</p><div class="mt-4 flex items-center text-xs font-medium text-primary opacity-0 group-hover:opacity-100 transition-opacity">Read more <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-arrow-right ml-1 h-3 w-3"><path d="M5 12h14"></path><path d="m12 5 7 7-7 7"></path></svg></div></a><a class="group relative flex flex-col rounded-xl border border-border bg-card/50 p-5 transition-all duration-300 hover:border-primary/40 hover:bg-card hover:shadow-lg hover:shadow-primary/5" href="/hagia-sophia-church"><span class="mb-3 inline-block w-fit rounded-full bg-primary/10 px-2.5 py-0.5 text-[11px] font-medium uppercase tracking-wider text-primary">Church</span><h3 class="text-base font-semibold text-foreground group-hover:text-primary transition-colors leading-snug">Was It a Church?</h3><p class="mt-2 text-sm text-muted-foreground line-clamp-2 leading-relaxed flex-1">Hagia Sophia's 900 years as a Christian cathedral.</p><div class="mt-4 flex items-center text-xs font-medium text-primary opacity-0 group-hover:opacity-100 transition-opacity">Read more <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-arrow-right ml-1 h-3 w-3"><path d="M5 12h14"></path><path d="m12 5 7 7-7 7"></path></svg></div></a></div></div></section></main><footer class="bg-card border-t border-border" dir="ltr"><div class="mx-auto max-w-7xl px-4 sm:px-6 lg:px-8 py-16">
1<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-5 gap-12"><div class="lg:col-span-2"><a class="inline-block" href="/"><span class="text-2xl font-semibold tracking-wider text-primary">HAGIA SOPHIA</span><span class="block text-xs tracking-[0.2em] text-muted-foreground mt-1">by Safaryar Holidays</span></a><p class="mt-4 text-sm text-muted-foreground leading-relaxed max-w-md">A monument to human achievement spanning 1500 years. From Byzantine cathedral to Ottoman mosque, the Hagia Sophia stands as a testament to the enduring spirit of faith, art, and architecture.</p><div class="mt-6 space-y-3"><div class="flex items-center gap-3 text-sm text-muted-foreground"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-map-pin h-4 w-4 text-primary flex-shrink-0"><path d="M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0"></path><circle cx="12" cy="10" r="3"></circle></svg><span>Sultan Ahmet, Ayasofya Meydanı, Istanbul, Turkey</span></div><div class="flex items-center gap-3 text-sm text-muted-foreground"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-clock h-4 w-4 text-primary flex-shrink-0"><circle cx="12" cy="12" r="10"></circle><polyline points="12 6 12 12 16 14"></polyline></svg><span>Open daily except during prayer times</span></div><div class="flex items-center gap-3 text-sm text-muted-foreground"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-mail h-4 w-4 text-primary flex-shrink-0"><rect width="20" height="16" x="2" y="4" rx="2"></rect><path d="m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7"></path></svg><span>[email protected]</span></div></div></div><div><h3 class="text-sm font-semibold tracking-wider uppercase text-foreground">Discover</h3><ul class="mt-4 space-y-3"><li><a class="text-sm text-muted-foreground hover:text-primary transition-colors" href="/history">History</a></li><li><a class="text-sm text-muted-foreground hover:text-primary transition-colors" href="/architecture">Architecture</a></li><li><a class="text-sm text-muted-foreground hover:text-primary transition-colors" href="/art"></a></li><li><a class="text-sm text-muted-foreground hover:text-primary transition-colors" href="/gallery">Gallery</a></li></ul></div><div><h3 class="text-sm font-semibold tracking-wider uppercase text-foreground">Plan Your Visit</h3><ul class="mt-4 space-y-3"><li><a class="text-sm text-muted-foreground hover:text-primary transition-colors" href="/visit#hours">Opening Hours</a></li><li><a class="text-sm text-muted-foreground hover:text-primary transition-colors" href="/visit#tickets">Tickets</a></li><li><a class="text-sm text-muted-foreground hover:text-primary transition-colors" href="/visit#location">Getting Here</a></li><li><a class="text-sm text-muted-foreground hover:text-primary transition-colors" href="/visit#accessibility">Accessibility</a></li></ul></div><div><h3 class="text-sm font-semibold tracking-wider uppercase text-foreground">Resources</h3><ul class="mt-4 space-y-3"><li><a class="text-sm text-muted-foreground hover:text-primary transition-colors" href="/articles">Articles</a></li><li><a class="text-sm text-muted-foreground hover:text-primary transition-colors" href="/research">Research</a></li><li><a class="text-sm text-muted-foreground hover:text-primary transition-colors" href="/press">Press</a></li><li><a class="text-sm text-muted-foreground hover:text-primary transition-colors" href="/contact">Contact</a></li></ul></div></div><div class="mt-12 pt-8 border-t border-border"><h3 class="text-sm font-semibold tracking-wider uppercase text-foreground">Discover Istanbul & Beyond</h3><ul class="mt-4 flex flex-wrap gap-x-8 gap-y-3"><li><a href="https://rumelifortress.com" target="_blank" rel="noopener" class="text-sm text-muted-foreground hover:text-primary transition-colors">Rumeli Fortress on the Bosphorus</a></li><li><a href="https://princesislandistanbul.com" target="_blank" rel="noopener" class="text-sm text-muted-foreground hover:text-primary transition-colors">Princes' Islands day trips</a></li><li><a href="https://aquariumflorya.com" target="_blank" rel="noopener" class="text-sm text-muted-foreground hover:text-primary transition-colors">Istanbul Aquarium Florya</a></li><li><a href="https://selimiyecamii.com" target="_blank" rel="noopener" class="text-sm text-muted-foreground hover:text-primary transition-colors">Selimiye Mosque, Edirne</a></li><li><a href="https://sumelamanastiri.com" target="_blank" rel="noopener" class="text-sm text-muted-foreground hover:text-primary transition-colors">Sümela Monastery</a></li><li><a href="https://tangohotelistanbul.com" target="_blank" rel="noopener" class="text-sm text-muted-foreground hover:text-primary transition-colors">Tango Hotel Istanbul</a></li><li><a href="https://traveldistro.com" target="_blank" rel="noopener" class="text-sm text-muted-foreground hover:text-primary transition-colors">Ticketing powered by TravelDistro</a></li></ul></div><div class="mt-12 pt-8 border-t border-border flex flex-col gap-4"><p class="text-xs text-muted-foreground text-center leading-relaxed">This website is not affiliated with any government or official institution. Designed and developed by<!-- --> <a href="https://www.safaryarholidays.com" target="_blank" rel="noopener noreferrer" class="text-primary hover:underline">Safaryar Holidays</a>.</p><div class="flex flex-col sm:flex-row justify-between items-center gap-4"><p class="text-xs text-muted-foreground">© <!-- -->2026<!-- --> <!-- -->Hagia Sophia<!-- -->. <!-- -->All rights reserved.</p><div class="flex items-center gap-4"><a class="text-muted-foreground hover:text-primary transition-colors" aria-label="Facebook" href="#"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-facebook h-5 w-5"><path d="M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z"></path></svg></a><a class="text-muted-foreground hover:text-primary transition-colors" aria-label="Instagram" href="#"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-instagram h-5 w-5"><rect width="20" height="20" x="2" y="2" rx="5" ry="5"></rect><path d="M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z"></path><line x1="17.5" x2="17.51" y1="6.5" y2="6.5"></line></svg></a><a class="text-muted-foreground hover:text-primary transition-colors" aria-label="Twitter" href="#"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-twitter h-5 w-5"><path d="M22 4s-.7 2.1-2 3.4c1.6 10-9.4 17.3-18 11.6 2.2.1 4.4-.6 6-2C3 15.5.5 9.6 3 5c2.2 2.6 5.6 4.1 9 4-.9-4.2 4-6.6 7-3.8 1.1 0 3-1.2 3-1.2z"></path></svg></a><a class="text-muted-foreground hover:text-primary transition-colors" aria-label="YouTube" href="#"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-youtube h-5 w-5"><path d="M2.5 17a24.12 24.12 0 0 1 0-10 2 2 0 0 1 1.4-1.4 49.56 49.56 0 0 1 16.2 0A2 2 0 0 1 21.5 7a24.12 24.12 0 0 1 0 10 2 2 0 0 1-1.4 1.4 49.55 49.5
15 0 0 1-16.2 0A2 2 0 0 1 2.5 17"></path><path d="m10 15 5-3-5-3z"></path></svg></a></div></div><p class="text-xs text-muted-foreground text-center mt-2">Developed by<!-- --> <a href="https://solustiq.com" target="_blank" rel="noopener noreferrer" class="text-primary hover:underline font-medium">Solustiq</a></p><div class="flex justify-center mt-2"><a href="https://citelens.ai/?utm_source=badge&utm_medium=referral&utm_campaign=partners" target="_blank" rel="noopener noreferrer"><img src="https://api.citelens.ai/badge/geo-ready-dark.png" alt="GEO Ready â verified by CiteLens" width="240" height="56"/></a></div></div></div></footer><!--$--><!--/$--><!--$!--><template data-dgst="BAILOUT_TO_CLIENT_SIDE_RENDERING"></template><!--/$--><!--$!--><template data-dgst="BAILOUT_TO_CLIENT_SIDE_RENDERING"></template><!--/$-->
1<script src="/_next/static/chunks/6e46535113110313.js?dpl=dpl_EEjbe4kpwvcAs2r9Lv5vcEs3pZYM" id="_R_" async=""></script>
1<script>(self.__next_f=self.__next_f||[]).push([0])</script>
1<script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[96691,[\"/_next/static/chunks/1d1acb57b5c0a0bc.js?dpl=dpl_EEjbe4kpwvcAs2r9Lv5vcEs3pZYM\"],\"\"]\n3:I[50661,[\"/_next/static/chunks/1d1acb57b5c0a0bc.js?dpl=dpl_EEjbe4kpwvcAs2r9Lv5vcEs3pZYM\"],\"LanguageProvider\"]\n4:I[42869,[\"/_next/static/chunks/3337476739009024.js?dpl=dpl_EEjbe4kpwvcAs2r9Lv5vcEs3pZYM\",\"/_next/static/chunks/796e7f5bb07ad38d.js?dpl=dpl_EEjbe4kpwvcAs2r9Lv5vcEs3pZYM\"],\"default\"]\n5:I[63587,[\"/_next/static/chunks/3337476739009024.js?dpl=dpl_EEjbe4kpwvcAs2r9Lv5vcEs3pZYM\",\"/_next/static/chunks/796e7f5bb07ad38d.js?dpl=dpl_EEjbe4kpwvcAs2r9Lv5vcEs3pZYM\"],\"default\"]\n6:I[36768,[\"/_next/static/chunks/1d1acb57b5c0a0bc.js?dpl=dpl_EEjbe4kpwvcAs2r9Lv5vcEs3pZYM\",\"/_next/static/chunks/c10801a7114b0af9.js?dpl=dpl_EEjbe4kpwvcAs2r9Lv5vcEs3pZYM\",\"/_next/static/chunks/05d780e6706c90de.js?dpl=dpl_EEjbe4kpwvcAs2r9Lv5vcEs3pZYM\"],\"default\"]\n7:I[72005,[\"/_next/static/chunks/1d1acb57b5c0a0bc.js?dpl=dpl_EEjbe4kpwvcAs2r9Lv5vcEs3pZYM\"],\"Analytics\"]\n8:I[38307,[\"/_next/static/chunks/1d1acb57b5c0a0bc.js?dpl=dpl_EEjbe4kpwvcAs2r9Lv5vcEs3pZYM\"],\"SpeedInsights\"]\n9:I[49786,[\"/_next/static/chunks/1d1acb57b5c0a0bc.js?dpl=dpl_EEjbe4kpwvcAs2r9Lv5vcEs3pZYM\",\"/_next/static/chunks/2d88ce5471736b34.js?dpl=dpl_EEjbe4kpwvcAs2r9Lv5vcEs3pZYM\",\"/_next/static/chunks/952f836bbce25916.js?dpl=dpl_EEjbe4kpwvcAs2r9Lv5vcEs3pZYM\",\"/_next/static/chunks/05d780e6706c90de.js?dpl=dpl_EEjbe4kpwvcAs2r9Lv5vcEs3pZYM\"],\"Header\"]\na:I[17482,[\"/_next/static/chunks/1d1acb57b5c0a0bc.js?dpl=dpl_EEjbe4kpwvcAs2r9Lv5vcEs3pZYM\",\"/_next/static/chunks/2d88ce5471736b34.js?dpl=dpl_EEjbe4kpwvcAs2r9Lv5vcEs3pZYM\",\"/_next/static/chunks/952f836bbce25916.js?dpl=dpl_EEjbe4kpwvcAs2r9Lv5vcEs3pZYM\",\"/_next/static/chunks/05d780e6706c90de.js?dpl=dpl_EEjbe4kpwvcAs2r9Lv5vcEs3pZYM\"],\"HistoryHero\"]\nb:I[89508,[\"/_next/static/chunks/1d1acb57b5c0a0bc.js?dpl=dpl_EEjbe4kpwvcAs2r9Lv5vcEs3pZYM\",\"/_next/static/chunks/2d88ce5471736b34.js?dpl=dpl_EEjbe4kpwvcAs2r9Lv5vcEs3pZYM\",\"/_next/static/chunks/952f836bbce25916.js?dpl=dpl_EEjbe4kpwvcAs2r9Lv5vcEs3pZYM\",\"/_next/static/chunks/05d780e6706c90de.js?dpl=dpl_EEjbe4kpwvcAs2r9Lv5vcEs3pZYM\"],\"HistoryTimeline\"]\nc:I[33937,[\"/_next/static/chunks/1d1acb57b5c0a0bc.js?dpl=dpl_EEjbe4kpwvcAs2r9Lv5vcEs3pZYM\",\"/_next/static/chunks/2d88ce5471736b34.js?dpl=dpl_EEjbe4kpwvcAs2r9Lv5vcEs3pZYM\",\"/_next/static/chunks/952f836bbce25916.js?dpl=dpl_EEjbe4kpwvcAs2r9Lv5vcEs3pZYM\",\"/_next/static/chunks/05d780e6706c90de.js?dpl=dpl_EEjbe4kpwvcAs2r9Lv5vcEs3pZYM\"],\"HistoryEras\"]\nd:I[10641,[\"/_next/static/chunks/1d1acb57b5c0a0bc.js?dpl=dpl_EEjbe4kpwvcAs2r9Lv5vcEs3pZYM\",\"/_next/static/chunks/2d88ce5471736b34.js?dpl=dpl_EEjbe4kpwvcAs2r9Lv5vcEs3pZYM\",\"/_next/static/chunks/952f836bbce25916.js?dpl=dpl_EEjbe4kpwvcAs2r9Lv5vcEs3pZYM\",\"/_next/static/chunks/05d780e6706c90de.js?dpl=dpl_EEjbe4kpwvcAs2r9Lv5vcEs3pZYM\"],\"\"]\n19:I[92670,[\"/_next/static/chunks/3337476739009024.js?dpl=dpl_EEjbe4kpwvcAs2r9Lv5vcEs3pZYM\",\"/_next/static/chunks/796e7f5bb07ad38d.js?dpl=dpl_EEjbe4kpwvcAs2r9Lv5vcEs3pZYM\"],\"default\"]\n:HL[\"/_next/static/chunks/bcb4539fedac7a2c.css?dpl=dpl_EEjbe4kpwvcAs2r9Lv5vcEs3pZYM\",\"style\"]\n:HL[\"/_next/static/chunks/ad8c92f4c2293643.css?dpl=dpl_EEjbe4kpwvcAs2r9Lv5vcEs3pZYM\",\"style\"]\n:HL[\"/_next/static/media/01e4147cff8141ee-s.p.7787e134.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n:HL[\"/_next/static/media/83afe278b6a6bb3c-s.p.3a6ba036.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n"])</script>
1<script>self.__next_f.push([1,"0:{\"P\":null,\"b\":\"m1kvZGMTa1xoiyyGNsuC5\",\"c\":[\"\",\"history\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"history\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",true],[[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/bcb4539fedac7a2c.css?dpl=dpl_EEjbe4kpwvcAs2r9Lv5vcEs3pZYM\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"link\",\"1\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/ad8c92f4c2293643.css?dpl=dpl_EEjbe4kpwvcAs2r9Lv5vcEs3pZYM\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-0\",{\"src\":\"/_next/static/chunks/1d1acb57b5c0a0bc.js?dpl=dpl_EEjbe4kpwvcAs2r9Lv5vcEs3pZYM\",\"async\":true,\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"className\":\"dark\",\"children\":[[\"$\",\"head\",null,{\"children\":[[\"$\",\"script\",null,{\"src\":\"https://analytics.ahrefs.com/analytics.js\",\"data-key\":\"kA6D1zEQtRAWu8xZGmXM/Q\",\"async\":true}],[\"$\",\"$L2\",null,{\"src\":\"https://emrldtp.com/NTEzNTE2.js?t=513516\",\"strategy\":\"afterInteractive\"}],[\"$\",\"$L2\",null,{\"src\":\"https://widgets.bokun.io/assets/javascripts/apps/build/BokunWidgetsLoader.js?bookingChannelUUID=661521c6-b13a-4b82-96cd-52c1ac8431e2\",\"strategy\":\"afterInteractive\"}]]}],[\"$\",\"body\",null,{\"className\":\"cormorant_garamond_f767a74-module__g98QpG__variable inter_5901b7c6-module__ec5Qua__variable font-sans antialiased\",\"children\":[[\"$\",\"$L2\",null,{\"src\":\"https://www.googletagmanager.com/gtag/js?id=G-N3SGWFEW1B\",\"strategy\":\"afterInteractive\"}],[\"$\",\"$L2\",null,{\"id\":\"google-analytics\",\"strategy\":\"afterInteractive\",\"children\":\"\\n window.dataLayer = window.dataLayer || [];\\n function gtag(){dataLayer.push(arguments);}\\n gtag('js', new Date());\\n gtag('config', 'G-N3SGWFEW1B');\\n \"}],[\"$\",\"$L3\",null,{\"children\":[\"$\",\"$L4\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L5\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[\"$\",\"$L6\",null,{}],[]],\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]}],[\"$\",\"$L7\",null,{}],[\"$\",\"$L8\",null,{}]]}]]}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L4\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L5\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"script\",null,{\"type\":\"application/ld+json\",\"dangerouslySetInnerHTML\":{\"__html\":\"{\\\"@context\\\":\\\"https://schema.org\\\",\\\"@type\\\":\\\"BreadcrumbList\\\",\\\"itemListElement\\\":[{\\\"@type\\\":\\\"ListItem\\\",\\\"position\\\":1,\\\"name\\\":\\\"Home\\\",\\\"item\\\":\\\"https://www.hagiasophia.com\\\"},{\\\"@type\\\":\\\"ListItem\\\",\\\"position\\\":2,\\\"name\\\":\\\"History\\\",\\\"item\\\":\\\"https://www.hagiasophia.com/history\\\"}]}\"}}],[\"$\",\"$L9\",null,{}],[\"$\",\"main\",null,{\"children\":[[\"$\",\"$La\",null,{}],[\"$\",\"$Lb\",null,{}],[\"$\",\"$Lc\",null,{}],[\"$\",\"section\",null,{\"className\":\"py-16 lg:py-20 border-t border-border\",\"children\":[\"$\",\"div\",null,{\"className\":\"mx-auto max-w-6xl px-4 sm:px-6 lg:px-8\",\"children\":[[\"$\",\"h2\",null,{\"className\":\"text-2xl md:text-3xl font-semibold text-foreground mb-10 text-center\",\"children\":\"You Might Also Like\"}],[\"$\",\"div\",null,{\"className\":\"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-
15\",\"children\":[[\"$\",\"$Ld\",\"/architecture\",{\"href\":\"/architecture\",\"className\":\"group relative flex flex-col rounded-xl border border-border bg-card/50 p-5 transition-all duration-300 hover:border-primary/40 hover:bg-card hover:shadow-lg hover:shadow-primary/5\",\"children\":[[\"$\",\"span\",null,{\"className\":\"mb-3 inline-block w-fit rounded-full bg-primary/10 px-2.5 py-0.5 text-[11px] font-medium uppercase tracking-wider text-primary\",\"children\":\"Architecture\"}],[\"$\",\"h3\",null,{\"className\":\"text-base font-semibold text-foreground group-hover:text-primary transition-colors leading-snug\",\"children\":\"Architecture\"}],[\"$\",\"p\",null,{\"className\":\"mt-2 text-sm text-muted-foreground line-clamp-2 leading-relaxed flex-1\",\"children\":\"How Isidore and Anthemius built the impossible dome.\"}],[\"$\",\"div\",null,{\"className\":\"mt-4 flex items-center text-xs font-medium text-primary opacity-0 group-hover:opacity-100 transition-opacity\",\"children\":[\"Read more \",[\"$\",\"svg\",null,{\"ref\":\"$undefined\",\"xmlns\":\"http://www.w3.org/2000/svg\",\"width\":24,\"height\":24,\"viewBox\":\"0 0 24 24\",\"fill\":\"none\",\"stroke\":\"currentColor\",\"strokeWidth\":2,\"strokeLinecap\":\"round\",\"strokeLinejoin\":\"round\",\"className\":\"lucide lucide-arrow-right ml-1 h-3 w-3\",\"children\":[\"$Le\",\"$Lf\",\"$undefined\"]}]]}]]}],\"$L10\",\"$L11\",\"$L12\"]}]]}]}]]}],\"$L13\"],[\"$L14\",\"$L15\",\"$L16\"],\"$L17\"]}],{},null,false,false]},null,false,false]},null,false,false],\"$L18\",false]],\"m\":\"$undefined\",\"G\":[\"$19\",[]],\"S\":true}\n"])</script>
1<script>self.__next_f.push([1,"1a:I[20770,[\"/_next/static/chunks/1d1acb57b5c0a0bc.js?dpl=dpl_EEjbe4kpwvcAs2r9Lv5vcEs3pZYM\",\"/_next/static/chunks/2d88ce5471736b34.js?dpl=dpl_EEjbe4kpwvcAs2r9Lv5vcEs3pZYM\",\"/_next/static/chunks/952f836bbce25916.js?dpl=dpl_EEjbe4kpwvcAs2r9Lv5vcEs3pZYM\",\"/_next/static/chunks/05d780e6706c90de.js?dpl=dpl_EEjbe4kpwvcAs2r9Lv5vcEs3pZYM\"],\"Footer\"]\n1b:I[89836,[\"/_next/static/chunks/3337476739009024.js?dpl=dpl_EEjbe4kpwvcAs2r9Lv5vcEs3pZYM\",\"/_next/static/chunks/796e7f5bb07ad38d.js?dpl=dpl_EEjbe4kpwvcAs2r9Lv5vcEs3pZYM\"],\"OutletBoundary\"]\n1c:\"$Sreact.suspense\"\n1e:I[89836,[\"/_next/static/chunks/3337476739009024.js?dpl=dpl_EEjbe4kpwvcAs2r9Lv5vcEs3pZYM\",\"/_next/static/chunks/796e7f5bb07ad38d.js?dpl=dpl_EEjbe4kpwvcAs2r9Lv5vcEs3pZYM\"],\"ViewportBoundary\"]\n20:I[89836,[\"/_next/static/chunks/3337476739009024.js?dpl=dpl_EEjbe4kpwvcAs2r9Lv5vcEs3pZYM\",\"/_next/static/chunks/796e7f5bb07ad38d.js?dpl=dpl_EEjbe4kpwvcAs2r9Lv5vcEs3pZYM\"],\"MetadataBoundary\"]\ne:[\"$\",\"path\",\"1ays0h\",{\"d\":\"M5 12h14\"}]\nf:[\"$\",\"path\",\"xquz4c\",{\"d\":\"m12 5 7 7-7 7\"}]\n10:[\"$\",\"$Ld\",\"/hagia-sophia-before-and-after\",{\"href\":\"/hagia-sophia-before-and-after\",\"className\":\"group relative flex flex-col rounded-xl border border-border bg-card/50 p-5 transition-all duration-300 hover:border-primary/40 hover:bg-card hover:shadow-lg hover:shadow-primary/5\",\"children\":[[\"$\",\"span\",null,{\"className\":\"mb-3 inline-block w-fit rounded-full bg-primary/10 px-2.5 py-0.5 text-[11px] font-medium uppercase tracking-wider text-primary\",\"children\":\"History\"}],[\"$\",\"h3\",null,{\"className\":\"text-base font-semibold text-foreground group-hover:text-primary transition-colors leading-snug\",\"children\":\"Before and After\"}],[\"$\",\"p\",null,{\"className\":\"mt-2 text-sm text-muted-foreground line-clamp-2 leading-relaxed flex-1\",\"children\":\"How Hagia Sophia transformed through 1,500 years.\"}],[\"$\",\"div\",null,{\"className\":\"mt-4 flex items-center text-xs font-medium text-primary opacity-0 group-hover:opacity-100 transition-opacity\",\"children\":[\"Read more \",[\"$\",\"svg\",null,{\"ref\":\"$undefined\",\"xmlns\":\"http://www.w3.org/2000/svg\",\"width\":24,\"height\":24,\"viewBox\":\"0 0 24 24\",\"fill\":\"none\",\"stroke\":\"currentColor\",\"strokeWidth\":2,\"strokeLinecap\":\"round\",\"strokeLinejoin\":\"round\",\"className\":\"lucide lucide-arrow-right ml-1 h-3 w-3\",\"children\":[[\"$\",\"path\",\"1ays0h\",{\"d\":\"M5 12h14\"}],[\"$\",\"path\",\"xquz4c\",{\"d\":\"m12 5 7 7-7 7\"}],\"$undefined\"]}]]}]]}]\n11:[\"$\",\"$Ld\",\"/hagia-sophia-museum-or-mosque\",{\"href\":\"/hagia-sophia-museum-or-mosque\",\"className\":\"group relative flex flex-col rounded-xl border border-border bg-card/50 p-5 transition-all duration-300 hover:border-primary/40 hover:bg-card hover:shadow-lg hover:shadow-primary/5\",\"children\":[[\"$\",\"span\",null,{\"className\":\"mb-3 inline-block w-fit rounded-full bg-primary/10 px-2.5 py-0.5 text-[11px] font-medium uppercase tracking-wider text-primary\",\"children\":\"Status\"}],[\"$\",\"h3\",null,{\"className\":\"text-base font-semibold text-foreground group-hover:text-primary transition-colors leading-snug\",\"children\":\"Mosque or Museum?\"}],[\"$\",\"p\",null,{\"className\":\"mt-2 text-sm text-muted-foreground line-clamp-2 leading-relaxed flex-1\",\"children\":\"The full story behind its status changes.\"}],[\"$\",\"div\",null,{\"className\":\"mt-4 flex items-center text-xs font-medium text-primary opacity-0 group-hover:opacity-100 transition-opacity\",\"children\":[\"Read more \",[\"$\",\"svg\",null,{\"ref\":\"$undefined\",\"xmlns\":\"http://www.w3.org/2000/svg\",\"width\":24,\"height\":24,\"viewBox\":\"0 0 24 24\",\"fill\":\"none\",\"stroke\":\"currentColor\",\"strokeWidth\":2,\"strokeLinecap\":\"round\",\"strokeLinejoin\":\"round\",\"className\":\"lucide lucide-arrow-right ml-1 h-3 w-3\",\"children\":[[\"$\",\"path\",\"1ays0h\",{\"d\":\"M5 12h14\"}],[\"$\",\"path\",\"xquz4c\",{\"d\":\"m12 5 7 7-7 7\"}],\"$undefined\"]}]]}]]}]\n12:[\"$\",\"$Ld\",\"/hagia-sophia-church\",{\"href\":\"/hagia-sophia-church\",\"className\":\"group relative flex flex-col rounded-xl border border-border bg-card/50 p-5 transition-all duration-300 hover:border-primary/40 hover:bg-card hover:shadow-lg hover:shadow-
1primary/5\",\"children\":[[\"$\",\"span\",null,{\"className\":\"mb-3 inline-block w-fit rounded-full bg-primary/10 px-2.5"])</script>
1<script>self.__next_f.push([1," py-0.5 text-[11px] font-medium uppercase tracking-wider text-primary\",\"children\":\"Church\"}],[\"$\",\"h3\",null,{\"className\":\"text-base font-semibold text-foreground group-hover:text-primary transition-colors leading-snug\",\"children\":\"Was It a Church?\"}],[\"$\",\"p\",null,{\"className\":\"mt-2 text-sm text-muted-foreground line-clamp-2 leading-relaxed flex-1\",\"children\":\"Hagia Sophia's 900 years as a Christian cathedral.\"}],[\"$\",\"div\",null,{\"className\":\"mt-4 flex items-center text-xs font-medium text-primary opacity-0 group-hover:opacity-100 transition-opacity\",\"children\":[\"Read more \",[\"$\",\"svg\",null,{\"ref\":\"$undefined\",\"xmlns\":\"http://www.w3.org/2000/svg\",\"width\":24,\"height\":24,\"viewBox\":\"0 0 24 24\",\"fill\":\"none\",\"stroke\":\"currentColor\",\"strokeWidth\":2,\"strokeLinecap\":\"round\",\"strokeLinejoin\":\"round\",\"className\":\"lucide lucide-arrow-right ml-1 h-3 w-3\",\"children\":[[\"$\",\"path\",\"1ays0h\",{\"d\":\"M5 12h14\"}],[\"$\",\"path\",\"xquz4c\",{\"d\":\"m12 5 7 7-7 7\"}],\"$undefined\"]}]]}]]}]\n13:[\"$\",\"$L1a\",null,{}]\n14:[\"$\",\"script\",\"script-0\",{\"src\":\"/_next/static/chunks/2d88ce5471736b34.js?dpl=dpl_EEjbe4kpwvcAs2r9Lv5vcEs3pZYM\",\"async\":true,\"nonce\":\"$undefined\"}]\n15:[\"$\",\"script\",\"script-1\",{\"src\":\"/_next/static/chunks/952f836bbce25916.js?dpl=dpl_EEjbe4kpwvcAs2r9Lv5vcEs3pZYM\",\"async\":true,\"nonce\":\"$undefined\"}]\n16:[\"$\",\"script\",\"script-2\",{\"src\":\"/_next/static/chunks/05d780e6706c90de.js?dpl=dpl_EEjbe4kpwvcAs2r9Lv5vcEs3pZYM\",\"async\":true,\"nonce\":\"$undefined\"}]\n17:[\"$\",\"$L1b\",null,{\"children\":[\"$\",\"$1c\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@1d\"}]}]\n18:[\"$\",\"$1\",\"h\",{\"children\":[null,[\"$\",\"$L1e\",null,{\"children\":\"$@1f\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$L20\",null,{\"children\":[\"$\",\"$1c\",null,{\"name\":\"Next.Metadata\",\"children\":\"$@21\"}]}]}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]]}]\n"])</script>
1<script>self.__next_f.push([1,"1f:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n"])</script>
1<script>self.__next_f.push([1,"22:I[76629,[\"/_next/static/chunks/3337476739009024.js?dpl=dpl_EEjbe4kpwvcAs2r9Lv5vcEs3pZYM\",\"/_next/static/chunks/796e7f5bb07ad38d.js?dpl=dpl_EEjbe4kpwvcAs2r9Lv5vcEs3pZYM\"],\"IconMark\"]\n"])</script>
1<script>self.__next_f.push([1,"21:[[\"$\",\"title\",\"0\",{\"children\":\"History of Hagia Sophia â From 537 AD to Today\"}],[\"$\",\"meta\",\"1\",{\"name\":\"description\",\"content\":\"The complete history of Hagia Sophia: Byzantine cathedral, Ottoman mosque, museum, and its reconversion in 2020. 1,500 years of world history.\"}],[\"$\",\"meta\",\"2\",{\"name\":\"keywords\",\"content\":\"hagia sophia history, history of hagia sophia, hagia sophia timeline, byzantine cathedral history\"}],[\"$\",\"meta\",\"3\",{\"name\":\"robots\",\"content\":\"index, follow\"}],[\"$\",\"meta\",\"4\",{\"name\":\"googlebot\",\"content\":\"index, follow, max-video-preview:-1, max-image-preview:large, max-snippet:-1\"}],[\"$\",\"link\",\"5\",{\"rel\":\"canonical\",\"href\":\"https://www.hagiasophia.com/history\"}],[\"$\",\"link\",\"6\",{\"rel\":\"alternate\",\"hrefLang\":\"en\",\"href\":\"https://www.hagiasophia.com/history\"}],[\"$\",\"link\",\"7\",{\"rel\":\"alternate\",\"hrefLang\":\"tr\",\"href\":\"https://www.hagiasophia.com/tr/ayasofya-tarihi\"}],[\"$\",\"link\",\"8\",{\"rel\":\"alternate\",\"hrefLang\":\"x-default\",\"href\":\"https://www.hagiasophia.com/history\"}],[\"$\",\"meta\",\"9\",{\"property\":\"og:title\",\"content\":\"History of Hagia Sophia â From 537 AD to Today\"}],[\"$\",\"meta\",\"10\",{\"property\":\"og:description\",\"content\":\"The complete history of Hagia Sophia: Byzantine cathedral, Ottoman mosque, museum, and its reconversion in 2020.\"}],[\"$\",\"meta\",\"11\",{\"property\":\"og:locale\",\"content\":\"en_US\"}],[\"$\",\"meta\",\"12\",{\"property\":\"og:type\",\"content\":\"website\"}],[\"$\",\"meta\",\"13\",{\"name\":\"twitter:card\",\"content\":\"summary_large_image\"}],[\"$\",\"meta\",\"14\",{\"name\":\"twitter:title\",\"content\":\"Hagia Sophia â Complete Guide to Istanbul's Greatest Monument\"}],[\"$\",\"meta\",\"15\",{\"name\":\"twitter:description\",\"content\":\"Explore 1,500 years of history. Visitor info, tickets, hours, architecture, mosaics, and tips to plan your Hagia Sophia visit.\"}],[\"$\",\"link\",\"16\",{\"rel\":\"shortcut icon\",\"href\":\"/favicon.jpg\"}],[\"$\",\"link\",\"17\",{\"rel\":\"icon\",\"href\":\"/favicon.jpg\",\"type\":\"image/png\"}],[\"$\",\"link\",\"18\",{\"rel\":\"apple-touch-icon\",\"href\":\"/favicon.jpg\"}],[\"$\",\"$L22\",\"19\",{}]]\n"])</script>
1<script>self.__next_f.push([1,"1d:null\n"])</script>
1</body></html>
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.