I lost my mind in San Francisco

Somewhere near Habsburg-Valois wars phase 2 I got lost in: