Which statement accurately compares the Byzantine emperors Justinian I and Basil I?

ABoth emperors encouraged iconoclasm by outlawing certain forms of worship.
BBoth emperors improved the Byzantine legal system by organizing laws more clearly.
CBoth emperors died during particularly devastating outbreaks of bubonic plague.
DBoth emperors lost large chunks of Byzantine territory to invading Muslim armies.