YOU SAID:
History has been working for a few years
INTO JAPANESE
歴史は数年前から機能しています
BACK INTO ENGLISH
History has been working for years
INTO JAPANESE
歴史は何年にもわたって機能してきた
BACK INTO ENGLISH
History has worked for years
INTO JAPANESE
歴史は何年にもわたって機能してきた
BACK INTO ENGLISH
History has worked for years
Well done, yes, well done!