EMB ERJ 170/175 ER/LR
Flight Crew Air Transport Pilot (ATP); Flight Crew Multiengine; Flight Crew Instrument
Situational Awareness
Conflict Ground Conflict; Less Severe; Deviation / Discrepancy - Procedural Published Material / Policy
Flight Crew Took Evasive Action
Human Factors
Arriving in ZZZ; we were assigned Gate [X1]. As we entered the ramp; Ramp Control cleared us to the gate and informed us that it was open. As we were taxing along and approaching [X1]; we had three ramp employees ready to marshal us into the gate. While making a left turn to join the lead in line to park the aircraft; I looked both left and right and called out 'clear left.' The First Officer also called out 'clear right' as the head marshaler at the gate started to signal us in.As we were making the left turn; out of nowhere it seemed; Aircraft Y sped on by us to the left; also making a left turn into Gate [X2].  Shocked; I immediately stopped the aircraft and was concerned that this could be; or almost was a wingtip strike caused by Aircraft Y passing us. Gate [X2] did not have any ramp workers or ground crew at this stage to signal Aircraft Y in; but they continued in past us. Our ground crew; also shocked by the situation; had a few choice words to say to Aircraft Y. Realizing at this point that I was not going to continue in with Aircraft Y there; and wasn't comfortable in doing so; our ramp crew then moved over to Gate [X2] to park Aircraft Y who were well in front of us now; and parked them. They then came immediately back to Gate [X2] to finish parking us. Both Embraer 175s were extended wingtip aircraft. I'm not sure how close Aircraft Y came to us; but my First Officer and I were extremely shocked; by what we both considered a dangerous; unsafe; and negligent taxi.
We were taxiing Eastbound in ZZZ on taxi way to gate [X1]. When abeam the gate we saw marshaller and wing walkers were ready to receive us at [X1].  We cleared left and right; we couldn't see what's behind us at first; when we turned left to go into the gate; Aircraft Y was speeding into gate X2 from behind us diagonally.  The Captain and I both expressed instant concern that the wings would hit and he had to step on the brakes for Aircraft Y to pass because the wings would have not cleared if we kept moving.  The marshaller also seemed confused as to what Aircraft Y was doing; they had no wing walkers or Marshaller and were taxiing into the gate regardless. The Marshal ran over to Marshal him in. Then they came back to marshal us in. Aircraft Y was very unsafe; taxiing very fast on a ramp next to other aircraft and almost cut us off which could have caused the plane to hit us if our Captain had not applied the brakes firmly.  After speaking to the ramp personal; they confirmed Aircraft Y cut us off at an unsafe speed to get to his gate and he did not have wing walkers or marshal ready. It's very good that even after clearing left and right we kept looking left to make sure we are still clear so in a case like this we can see if someone was coming from behind us. It is important to keep scanning to make sure the area is clear throughout the entire turn as we did.
E175 flight crew aircraft reported a near miss with another aircraft during taxi into the gate.