It was captured and destroyed multiple times; by Ruthenes in 1135, Mongols in 1241, and Czechs in 1305, among others.