Ruins of 200-year-old mosque discovered