A woman is accused of trying to stealing a Pittsburgh police car -- while two officers were sitting in it.

Two officers sat in the unmarked police car in front of a Pittsburgh nightclub while a third officer who had been in the driver's seat got out to make a phone call just after 2 a.m. Saturday, reported the Pittsburgh Post-Gazette, which cited a criminal complaint.

As the car sat idling, Ria Buford, 32, got into the driver's seat. The officers identified themselves as police and told her to get out of the car, but she told them she was going to drive the vehicle to her own car, according to the Post-Gazette.

One of the officers got out and walked to the driver's seat to try to pull Buford out of the vehicle. He was confronted by a man who grabbed his shirt and told him not to touch Buford, according to the Post-Gazette.

Buford and the man were both arrested. Buford was charged with robbery of a motor vehicle, disorderly conduct and public drunkenness. She is scheduled to appear in court Thursday, according to The Associated Press.