Lida Castle (Belarusian: Лідскі замак, Lithuanian: Lydos pilis) was one of several citadels erected by Grand Duke Gediminas of Lithuania in the early 14th century to defend his lands against the expansion of the Teutonic Knights. Other links in this chain of defense included Hrodna, Navahrudak, Kreva, Medininkai, and Trakai. The modern town of Lida, Belarus grew up around this castle. Lida Castle is 141 metres (463 ft) above sea level.
The site selected for the castle is naturally defended by the Kamenka and Lida rivers to east and west. Construction of boulder walls was carried out in 1323, 1324, and 1325. Later they were faced with red brick. The castle had two angle towers and a church, which was moved outside the walls in 1533. The upper storeys of both towers were lived in.
Despite its strong fortifications, Lida was taken by the Teutonic Knights on several occasions (1384, 1392). Lithuanian Grand Duke Vytautas gave it to his ally, Khan Tokhtamysh, who settled "in a yurt near the castle". In 1406, the family of Yury of Smolensk was locked up in Lida as hostages; his attempt to take the castle and liberate them was not successful. In 1433, Lida was a point of contention between Švitrigaila and his cousin Sigismund Kęstutaitis.
The following decades were somewhat less stormy. Lida was ravaged by the Crimean Tatars in 1506 and it was stormed by the Russians during the Russo-Polish War in 1659. The Swedes, taking it twice during the Great Northern War, had both towers blown up. In 1794, the castle grounds were the site of a battle between Kościuszko's followers and the Russians.