sentences:  The city was previously known as Aliabad.With the Pahlavi dynasty, the city changed its name to Shahi in honor of Reza Shah, who was born in Alasht, a village close by.The county has been renamed to Qa'em Shahr after the 1979 revolution.