it was then part of the duchy of medinaceli