Dating back to Eastern Han Dynasty,是现在分词短语作状语。句子主干是 lanterns 主语were (at first 状语 )used谓语(mainly 状语 )for lightning. 主语补足语