Toll castle
A toll castle is a castle that , in the Middle Ages and the Early Modern Era , guarded a customs post and was intended to control it . 
<triplet> Middle Ages <subj> Early Modern Era <obj> followed by