Where did the original Tehranis come from?

The Tehrani dialect in its current form has existed since the Qajar period and is different from the language of the natives of Tehran; the old Tehrani dialect still exists in areas like Shemiran and Damavand, although it is subject to extinction