St. Hans and St. Peter churches were built side by side during the 1200s. St. Peter was consecrated to the apostle Peter. St. Hans, which was the larger church, was dedicated to St. John the Evangelist. It was where the Lutheran doctrine for the first time preached on the island. In 1527, however, Bishop Brask turned Lutherans out from the church. But as soon as the bishop sailed to Denmark, Lutherans worships were started again. Churches were demolished in 1600-1800s and the stone was used among others to construct Lythbergska house. In 1982 a beautifully decorated gravestone was found in the ruins of in St. Hans, dating from 1050s.
References:House of the Blackheads (Melngalvju nams) is a building situated in the old town of Riga. The original building was erected during the first third of the 14th century for the Brotherhood of Blackheads, a guild for unmarried German merchants in Riga. Major works were done in the years 1580 and 1886, adding most of the ornaments.
The structure was bombed to a ruin by the Germans June 28, 1941 and the remains demolished by the Soviets in 1948. The current reconstruction was erected from 1995 to 1999. Today the House of Blackheads serves as a museum and sometimes concert hall.