Towards the middle of the ninth century, Princess Thekla, eldest daughter of Emperor Theophilus enlarged a small oratory, dedicated to her patron saint and namesake, lying 150 meters east of the Church of Theotokos of the Blachernae.