How did Emperor Justinian try to rebuild the Roman Empire? What did he manage to do for this?

How did Emperor Justinian try to rebuild the Roman Empire? What did he manage to do for this? Why was his attempt ultimately unsuccessful?

Emperor Justinian tried to restore the Roman Empire to its former borders. In 534, under the blows of his troops, the Vandal-Alan kingdom in North Africa fell. Then the war began with the Ostrogothic kingdom. The inhabitants of the Apennines, experiencing oppression from the Goths, initially supported Justinian, and in 536 his troops captured Rome. However, the arbitrariness of the imperial soldiers, as well as the introduction of new taxes, caused discontent among the population. Ostrogoth Totila, elected king in 541, accepted slaves into his army and gave them freedom, took land from large Roman owners and distributed them to the Ostrogothic and Italian peasants. In 546 Totila conquered Rome, and by 551 he liberated almost all of Italy. The turning point in the long war occurred when Justinian sent a fresh army to the Apennines, led by the talented commander Narses. In the decisive battle, the Ostrogoths were defeated, Totila died. By 555, Italy was conquered by Justinian.
Justinian also fought wars with the Visigoths in Spain, where he achieved great success. It seemed that dreams of rebuilding the Roman Empire were about to come true. However, the restoration of the previous order, heavy tax oppression caused general discontent. Justinian’s conquests were fragile. Soon, almost all of Italy was captured by the tribes of the Lombards, who created their kingdom there.
In the first third of the VII century. Arab troops attacked Byzantium. The fight against the Arabs went on with varying success. In the XI century. The Seljuk Turks conquered all of Asia Minor from Byzantium. It was there in the XIII century. the state of the Ottoman Turks was formed, which after long and stubborn wars ended in 1453 with the Byzantine Empire.

Remember: The process of learning a person lasts a lifetime. The value of the same knowledge for different people may be different, it is determined by their individual characteristics and needs. Therefore, knowledge is always needed at any age and position.