He also granted a series of concessionary rights to foreigners in return for large payments that went into his own pockets. In 1872 popular pressure forced him to withdraw one concession involving permission to construct such complexes as railways and irrigation works throughout Iran. In 1890 he made an even greater error in granting a 50-year concession on the purchase, sale, and processing of all tobacco in the country, which led to a national boycott of tobacco and the withdrawal of the concession. This last incident is considered by many authorities to be the origin of modern Iranian nationalism. Increasingly unpopular among various Iranian factions, Nāṣer al-Dīn was assassinated in Tehrān by a follower of Jamāl al-Dīn al-Afghānī.