Originally displayed within a temple , the stone was probably moved during the early Christian or medieval period and eventually used as building material in the construction of Fort Julien near the town of Rashid (Rosetta) in the Nile Delta .