The history of Portugal, from the commencement of the monarchy to the reign of Alfonso III