Rewrite the following sentence correcting the dangling modifier: After centuries of lying on the ocean floor, the treasure hunters found the Spanish galleon