The traditional view holds that the ancient building was already founded as a church in 450-460 by Empress Eudoсia and restored after the destruction by Persians in 614.