Hello Sir,<br/><br/>1. When I reached to school the gate was closed.<br/><br/>2. When I reached to school the gate had closed.<br/><br/>Which one is correct?<br/><br/>Thanks.