A man fired shots at a Fort Lauderdale police early Christmas morrning and then attempted to flee from officers, only to fall from the two-story balcony of a townhouse.

Police subdued the gunman, Jacobo Bernstein-Firum, 40, who was arrested and charged with aggravated assault.

While no one was hurt in the gunfire, Bernstein-Firum received minor injuries to his face during the fall and was treated at Broward Health Medical Center in Fort Lauderdale.

The incident started about 3:50 a.m. Wednesday, when neighbors reported hearing several gunshots coming from the townhouse, at 713 SW Eighth Ave.

PHOTOS: 2013 SunFest Music Festival

Several residents dialed 9-1-1 after seeing a man exhibiting “erratic behavior,” including screaming, police said.

When officers arrived at the townhouse, the man fired two shots from a semi-automatic handgun at them. A SWAT team was called in and the area was cordoned off.

Bernstein-Firum ran out to his townhouse balcony, lost his balance and fell to the paved driveway below, police said.

“There was no one else inside the home, or in the area, who was hurt,” Detective DeAnna Greenlaw said.

Authorities ask anyone with information to call Detective Brice Brittenum at 954-828-5898.