Original: It can trace its history back to 1040 A.D.  (although the Zatec brewery in the Czech Republic claims it can prove that it paid a beer tax in 1004 A.D.).
Simplified: Although the Zatec brewery   in the Czech Republic claims it can prove paying beer tax in 1004.