medieval fortress by a river