<prompt> Translate the following text to EnglishMrithi wake, Dom Dinis 1279-1325, aliimarisha mipaka ya Ureno kwa kujenga majumba ya kifalme kando ya mpaka na Castile.  <response>: His successor, Dom Dinis 1279-1325, consolidated Portugals borders by constructing castles along the frontier with Castile. 