Soon afterward , permission to build the synagogue was revoked and the partially completed building fell into ruin ; only in 1864 was it finally completed .
The building was completed in 1864 , long after construction began .