The Mosque, the second oldest in Cairo, dates from 990 though it was renovated in the 1980s.
The Mosque had undergone renovation works from 1982 through 1985. 
mnli hypothesis: The Mosque had undergone renovation works from 1982 through 1985.  premise: The Mosque, the second oldest in Cairo, dates from 990 though it was renovated in the 1980s.