
THE
 SALJUQ COUNTEROFFENSIVE 
was
 held responsible for Isma'ili attacks on amirs who opposed him, 
he was himself attempted by assassins when he appointed a vizier 
who
 was strongly anti-Isma'ili. In
 494/1101,
 Berk-Yaruq in western 
Iran
 and Sanjar in Khurasan came to an agreement to regard the 
Isma'ilis no longer as local bands but as a general
 threat
 to Saljuq 
power,
 and to act against them. The
 chief
 fruit of Berk-Yaruq's 
resolve
 was a grand massacre of suspected Isma'ilis at Isfahan, Baghdad, 
and elsewhere. Army officers were especially affected and several of 
them fled. Sanjar, with fewer friends of the Isma'ilis to purge within 
his own ranks, sent instead an expedition against Tabas in Kuhistan, 
which
 was said to have been bought
 off
 after causing much devastation; 
and
 three
 years later he sent another which wrecked Tabas and de-
stroyed as much else as possible. The second expedition, as a jihad 
(holy
 war), was joined by many Sunni volunteers in addition to the 
regular troops, and the Isma'ili captives, as apostates, were enslaved. 
Yet
 the next year Isma'ilis from Turshiz in Kuhistan were in a position 
to raid a Sunni caravan as far west as Ray; and in Berk-Yaruq's lands 
no Isma'ili fortresses seem to have been overthrown at all. 
Meanwhile,
 the Isma'ili position was being consolidated in Rudbar, 
where several other fortresses were aligned with Alamut, apparently 
in many cases by agreement with the local leaders, who received aid 
from
 the Isma'ilis against domination from Ray and Qazvin. The most 
important addition was Lanbasar, considerably west of Alamut in 
the 
Shahrud
 valley.
 After its garrison went back on their first agree-
ment with the Isma'ilis, it was re-subjugated by Hasan's lieutenant 
Buzurg-Ummid
 and built into a major stronghold. In Syria in this 
period the Isma'ilis controlled as yet no fortresses, but they were strong 
in Aleppo and in the nearby towns of the
 Jazr
 region, and they enjoyed 
the patronage of Ridwan, Saljuq amir of
 Aleppo. 
With
 the advent to power of Muhammad Tapar, however, the more 
important dynastic disputes ended and the Saljuq forces made greater 
headway
 against the Isma'ili revolt. Even in Syria, Ridwan
 turned 
gradually
 against the Isma'ilis, who had become embarrassing, and he 
allowed
 more
 than
 one massacre of them; on his death in
 507/1113, 
they were scattered from their headquarters in Aleppo and for some 
time sought vainly a citadel which they could hold for their own. Most 
of
 the Isma'ili strongholds in the Zagros mountains seem to have 
fallen
 during Muhammad's reign. In 500/1107 Muhammad sent an 
expedition
 against Takrit; to avoid letting it fail into his hands, its 
445