When the front gate to the Tunisian national parliament was locked, during my visits from 2012 to 2014, my research associate and I discovered we could walk around to the back gate, which was always open so the public could access the national museum. Eventually we realized we could even park there, no questions asked.

Unfortunately, terrorists noticed this, too — and 17 tourists were killed Wednesday in Tunis during an attack on the Bardo, as the parliament-museum complex is called.

This loss of life is more than a blow to the Tunisian tourism industry or the newly elected government. It represents a loss of innocence for the one country that has emerged from the Arab Spring as a constitutional democracy. Tunisia will now have to admit that it has a homegrown terrorist movement that wants to undermine the vibrant new institutions the country is so justly proud of having created.