Answer:
B. To impress people.
Explanation:
The Hagia Sophia of Istanbul was a colossal structure of Byzantine architecture that remained one of the most famous architectural designs of the ancient Byzantine empire. Also known as Church of the Holy Wisdom or Church of the Divine Wisdom, the monument not only represents the religious aspect of the period, but also the architectural as well as political aspects.
Justinian I was not the first ruler to order the construction of the Hagia Sophia. In fact, he was the third emperor to order its construction. The first Hagia Sophia was built under Byzantine Emperor Constantius in 360 AD, followed by Emperor Theodosios II who had it rebuilt in 415 AD after it was burned down.
The structure was again burned down for the second time during the "Nika revolts" during Justinian I's rule. In order to impress the people, he ordered the reconstruction of the now-famous Hagia Sophia which was completed in 537 AD. This basilica was his way of diverting the revolting people's sentiments from his new law that increased taxes and also to become more popular among them as a reliable and competent ruler.
Thus, the correct answer is option B.