Marianus IV (in Catalan: Marià IV d'Arborea, 1329 – 1376), called the Great, was the Giudice of Arborea, island of Sardinia, from 1347 to his death. He was, as his nickname indicates, the greatest sovereign of Arborea. He was a legislator and a warrior whose reign saw the commencement of massive codification of the laws of his realm and incessant warfare with the Aragonese Empire. He was also a religious man, who had connections to Catherine of Siena. He was, in short, an "wise legislator, able politician, and valiant warrior."
Born at Oristano, he was the son of Hugh II and successor of his brother Peter III. At the behest of his father he spent most of his youth in Barcelona, where he was educated at the court of Alfonso IV of Aragon. He participated actively in the coronation of Peter IV in 1336. In 1336 in Barcelona, he married Timbor, daughter of Dalmatius IV of Rocabertí and Beatrice of Serrallonga, Baroness of Cabrenys. In 1339, he was invested by Peter with the counties of Bas (Spain), Goceano (Sardinia), and Marmilla (Sardinia).
In 1347, the Doria rebelled and defeated the Catalans at Aidu de Turdu, occupying Bonorva. This sparked a long war between Aragon and Genoa, but at the outset the Doria could not take advantage of their victory. On 11 September 1349, he returned to Oristano, two years after succeeding his childless elder brother. One of his first acts was to repopulate the town of Goceano, rebuild the castle there, and plant a florid garden.
Though an alliance had been in effect with Aragon for more than fifty years at the time of his accession, Marianus realised that the political aim of Peter IV was nothing less than the annexation of Sardinia and, following the conquest of Alghero (1353), he parted ways with the Catalans. He allied with the Genoese and the Doria, then at war with Aragon, and made himself an enemy of the Aragonese.