The temple was repaired by Toshiie MAEDA, founder of Kaga Hyakumangoku (the wealthy Kaga Domain with a net worth of 1 million koku of rice) in 1581, after the demise of the Hatakeyama family and it became patronized as the ancestral temple of the Maeda family.
その後、畠山家が没落するが天正9年（1581年）に加賀百万石の基礎を築いた前田利家により改修が行われ、前田家の菩提寺となり庇護される。