The Friedberg castle was subsequently built to serve as a border security and customs post for the Duchy of Bavaria and Swabi ...