In May 1865, Mikhail Grigorevich Chernyayev (Cherniaev), acting against the direct orders of the tsar and outnumbered at least 15–1, staged a daring night attack against a city with a wall 25 kilometers long with 11 gates and 30,000 defenders.