The buildings we see today were built about 350 years ago by Sadanaga Matsudaira, the third lord of Matsuyama, who wanted to give thanks to the kami for being selected to perform yabusame mounted archery at the Edo Castle.
EXIF info:
Nikon Df
Lens: 24-70mm F/2.8G
Focal Length: 24mm
Aperture: F/6.3
Shutter Speed: 1/800s
ISO Sensitivity: ISO 500