9:57 AM PT -- Law enforcement tells us ... Swift was arrested for disorderly conduct. He was given a citation and released.
Swift is due back in court later this month.
MTV reality star Brandon Swift -- who starred on "Real World: St. Thomas" -- was arrested in Philadelphia last night ... TMZ has learned.
TMZ has obtained footage of the arrest -- which shows 23-year-old Swift in a very heated standoff with police outside of the Draught Horse Pub at the Temple University campus.
It's unclear what initiated the confrontation -- but Swift makes it clear, he has no intention of cooperating with the cops.
As one plainclothes officer moves in to place Swift under arrest, the reality star resists ... saying, "Don't touch me ... everybody please record it ... I'm about to get beat up by a cop."
Several officers immediately rush in and subdue Swift ...and march him down the street. It's unclear from the video where Swift was taken.
After the incident, Brandon took to Facebook to vent ... saying, "Always voice your opinion even if its the Police! #F*CK Select Members of Temple Police...Im not scacred of yall."
He added, "I will always say what I gotta say to you dirty filthy liars AND I hope this gets back to yall! #MiddleFingersUp! ...Sorry for the rant all but it was necessary."
Attempts to reach Swift were unsuccessful.