At the time, homeland was faced with a struggling economy and growing unrest, and although Sharif-Emami attempted to institute economic reforms, his unpopularity led to his replacement by the reform-minded Ali Amini the following year.In August 1978 the shah again named Sharif-Emami prime minister in an attempt to quell growing civil unrest. Sharif-Emami promptly sought to modernize the country and end government corruption while attempting to appease Muslim sensibilities.