St. Mark's Basilica has a rich and complex history that traces its roots back to the year 828 when Venetian merchants stole the relics of St. Mark from Egypt to bring them to Venice. This event marked the beginning of the construction of a church in honor of the evangelist saint. The original church was destroyed by fire in 976 during a popular uprising against Doge Pietro Candiano IV.
The reconstruction of the basilica began in 978 under Doge Pietro I Orseolo, but the current version of the church dates back to the 11th century when it was rebuilt and expanded by Doge Domenico Contarini. The new basilica was completed in 1094 and was consecrated in the same year.
The basilica was founded as a private chapel for the Doge of Venice and his family. However, over the centuries, it became increasingly important for the city and eventually became the main church of Venice. Its privileged position in St. Mark's Square made it a symbol of power and wealth for the Republic of Venice.