Identify if the sentence below is active or passive. Then rewrite it in the opposite voice.
The detective had collected all the information before I arrived ​