(CNN) A woman getting off Boston's Orange Line last week fell and was trapped between the subway platform and the train until her fellow passengers were able to free her.

Transit police say the woman stepped into a 5-inch gap as she was getting off the train at the Massachusetts Avenue station on Friday afternoon during rush hour.

Marleny Polanco was on her way home from work when she heard the commotion.

"I didn't actually see her fall. I actually jumped out of the car when I heard some screams," she said. "I was able to see what was happening. She was clearly stuck between the train and the platform."

Security video from the platform shows a crowd of commuters start to push on the train and rock it enough to pull the woman to safety.

Read More