Police have arrested the man they say set his girlfriend on fire.

Larry McGloster, 26, allegedly doused the victim with an unknown liquid before lighting the fire.

He faces several charges, including attempted murder, arson and assault.

Police say the woman was also hit by a hammer, which was recovered at the scene.

The alleged incident happened Tuesday in the hallway of McGloster's apartment building on the Upper West Side. 

Police say the two got into a dispute before the attack.

The woman was rushed to the hospital in critical condition.