The rebellion at the Hamaguri Gate of the Imperial Palace in Kyoto takes place on August 20, 1864 and reflects the discontent of pro-imperial and anti-alien groups.
The rebels are grouped under the Sonnō Jōi slogan, which had been promulgated by the Emperor as the "Order to expel barbarians" in March 1863, and wish to take control of the Emperor himself to accomplish the restoration of the Imperial throne.