Complex sentence: Bredevoort was considered impregnable, the city was surrounded by swamps which made it very difficult to get guns within shooting range.
Split into simpler sentences: Bredevoort was considered impregnable, because the city was surrounded by swamps. Those swamps made it very difficult to get guns within shooting range.