Before revision: The lighthouse as built to guide ships through the entrance of Esquimalt harbour.
After revision: The lighthouse was built to guide ships through the entrance of Esquimalt harbour.