The Werners lived, like a growing number of foreigners, outside the city's heavily secured Legation Quarter, a cramped area of about 1.0 sqkm that was the only extraterritorial portion of the city, in contrast to the more populous treaty ports of Shanghai and Tianjin.