St. Mary's Cathedral is a Lutheran cathedral church located on the Toompea hill in the medieval central part of Tallinn, the capital city of Estonia. Established in the 13th century, it is the oldest church in Tallinn and mainland Estonia, and the only building in Toompea which survived the 17th-century fire.