 In 1770, Penkang Magistrate Hsueh Chao-heng considered that the temple too simple to live up to the dignity of Goddess Matsu.Three years later another reconstruction of the temple started.In 1854 a number of ranking officials initiated a third project, expanding the temple into a palace-type architectural complex.