Yet on close examination, the city's decades-long journey from prosperous, middle-class community to bankrupt, crime-ridden, foreclosure-blighted basket case is straightforward — and alarmingly similar to the path traveled by many municipalities around America's largest state. San Bernardino succumbed to a vicious circle of self-interests among city workers, local politicians and state pension overseers. Little by little, over many years, the salaries and retirement benefits of San Bernardino's city workers — and especially its police and firemen — grew richer and richer, even as the city lost its major employers and gradually got poorer and poorer. Unions poured money into city council elections, and the city council poured money into union pay and pensions. The California Public Employees' Retirement System (Calpers), which manages pension plans for San Bernardino and many other cities, encouraged ever-sweeter benefits. Investment bankers sold clever bond deals to pay for them.