His quarrel with the clergy, who protested that the King had infringed their rights, was referred to Rome, and in 1289 a formal but not a lasting agreement was reached.

Two years later the King checked the ever-growing possessions of the religious orders by a law limiting their right to gifts and legacies. Their wealth was the result of the great part they had played during the long conflict against the Moors, but it naturally began to prove inconvenient to King and people in time of peace. The nobles were in like case, and Dinis showed the same resolution towards them and abolished certain of their privileges.

He could protect as well as check. When the Knights Templar were abolished by the Pope, Dinis secured an exception for Portugal and reorganised them as the Order of Christ in 1319. Indeed he was essentially a builder, not a demolisher. In 1290 he founded the University of Coimbra; in 1308 he renewed and consolidated the treaty between Portugal and England; in 1317 he invited to Portugal a Genoese, Manuel Pezagno, to organise his fleet and command it as Admiral.

He encouraged agriculture, calling the peasants the “nerves of the republic” and passed many laws to ensure their security, so that in his reign men began to go in safety along the roads of Portugal, hitherto infested by brigands, and he divided grants of land among the poor of the towns. He planted near Leiria the pines which still form so delightful a feature of the country between that town and Alcobaça.

Some have called King Dinis a miser, others declare that in his reign there was a saying “liberal as King Dinis.” It is certain that he expended his money wisely, and, while no early king ever accomplished more for the land over which he ruled, he left a full treasury at his death. The charge of avarice perhaps arose from the charming legend which so well exemplifies the simplicity of those times.

The Queen was in the habit of distributing bread daily to a large number of poor, and Dinis, who perhaps would rather have seen them digging the soil, forbade the charity. Queen Isabel continued as before, and one morning the King met her as she went out with her apron full of bread.

“What have you there?” said King Dinis.

“Roses,” said the Queen.

“Let me see them,” said King Dinis.

And behold the Queen’s apron was filled with roses.