The shogunate bowed to the pressure and agreed to accept American diplomat Townsend Harris , who established the first US consulate at Gyokusenji temple in Shimoda in 1856 .
The establishment of the US consulate in Shimoda in the 1800s was a controversial event .