Ancient Egyptian
Source
Roots in Egypt's prehistory. The opened page says the religion lasted for 3,500 years.
The same page says the religion was considered to have fully died in the 530s, and that the closing of the temples at Philae in 537 is conventionally treated as the end. It also records a study arguing that organized worship at Philae ended in the fifth century, with some adherence still reported in 567. Those endings are left in conflict, as the page leaves them.