'Boardwalk Empire' star Paz de la Huerta was just charged with assault for allegedly attacking "City" star Samantha Swetra at an NYC party last month ... TMZ has learned.
Paz just appeared in criminal court in Manhattan -- where the D.A. filed 5 misdemeanor charges against de la Huerta ... including two counts of 3rd degree assault, 4th degree criminal possession of a weapon, attempted assault, and harassment.
The judge also granted a temporary restraining order against Paz -- which even prohibits Paz from contacting Samantha on Facebook.
As we first reported, Paz allegedly threw a drinking glass at Samantha and punched her in the face during a party at the Standard Hotel on March 22.
Paz is due back in court on May 19.
UPDATE: Prosecutors told the judge Paz trashed Samantha during her stint in the police station on the night of the incident ... saying, "I'm a REAL actress -- HBO! She's a publicity seeker, a FAKE actress."