It’s Cēsis Castle. I guess it is the Cēsis’ biggest tourist attraction. It was once a great castle of Baltic states but was destroyed in a war. Now it’s just ruins, but cool nonetheless. Local friend was guiding us there and telling about the castle. Thanks to her!