Task: Text Simplification
Input (English): after napier initially gained military control of the region by forcing an agreement with the sindh amirs , his forces attacked the fortress at imamgarh.
Output (English): after napier gained military control of the region , by forcing an agreement with the sindh amirs , his forces attacked the fortress at imamgarh.