after the expulsion of the moors it was reduced to an annex of the ribarroja