Learn Polish: Ów władca mieszkał wówczas w zamku. - That aforementioned ruler lived back then in a castle.