The church was built between 1863 and 1869 by the design of Karl Hippius, (1833—1880), a Baltic German architect. The cornerstone was consecrated by "vardapet" Daniel Shahnazariants, the bishop of the diocese of Shamakhi, in June 1863. The construction was funded by Javad Melikiants (Melikov), a Baku-based Armenian philanthropist and founder of the first paraffin plant in Baku. The church was consecrated on May 4, 1869 by archbishop Andreas Andreasian. Next to the church, the Armenian Philanthropic Society of Baku founded a female school in 1866 and a library in 1870.