In the middle ages, things like that often tended to become hereditary, but a generational transfer in any particular case wasn't official until the King recognized it--and he didn't have to. Especially during the first few generations. Later they became truly hereditary. Truth is, if you were a duke, you'd know it. ;)