Police have charged a 35-year-old man after a woman was pulled from the back of a Calgary taxi and sexually assaulted in an alleyway near her home.

Investigators say a woman hailed a cab downtown at about 3:40 a.m., on Sunday, January 25, 2015, to take her home from a family function.

The driver of the cab asked the woman inappropriate personal questions and made her feel uncomfortable during the ride.

When they arrived at her home, he drove to the back alley and told her to get out of the car.

The woman refused, so he pulled her out of the vehicle by her arm and then grabbed her and kissed her.

The man slipped on the ice, pulling them both to the ground. The woman was able to run to her home and police were notified.

Umar Khayyam, 35, of Calgary, is charged with one count of sexual assault.

He appeared in court on Monday and was released on bail.