He greatly encouraged the arts , and commissioned the building of the magnificent basilica , the Haghia Sophia .
He disliked the arts , and even tried to prevent the construction of the Haghia Sophia .