Behind Matsu Temple are a series of winding brick-paved pedestrian lanes that are home to a number of interesting sights such as the Shihkung Ancestral Shrine and Well of a Thousand Soldiers, where in 1682 the goddess Matsu was said to have bequeathed a magical well to Ming soldiers massing for an invasion of Taiwan.