In the Middle Ages investiture was the ceremonial transfer of a fief by an overlord to a vassal .
In the feudal system investiture was the ceremonial transfer of a fief by a lord to a vassal .