Input (grade 10): Following his elevation, Muawiyah moved the capital of the caliphate to Damascus.
Output (grade 5): Then he moved the capital of the caliphate to Damascus.