Shamilʹ, Imam, 1798?-1871.