An argument over a restaurant bill escalated into gunfire in South Melbourne Sunday evening, according to police reports.

Officers responded to the 100 block of East University Boulevard just before 8:30 p.m. after a man reported being shot in the buttocks by 29-year-old David Rodriguez.

Police said the victim was giving a ride to another person who had eaten at a restaurant with Rodriguez earlier in the day when the two got into an argument over the check.

When the victim and his passenger arrived at the apartment complex where Rodriguez also lived, Rodriguez was waiting to confront the men holding a handgun, according to arrest reports. He then fired a shot at the two men as they fled on foot.

More:Shooting leaves man dead at Merritt Island Walmart; Investigators say it was over a relationship

More:After Hurricane Irma's devastation, Florida citrus growers finally get some relief | Opinion

The unidentified shooting victim attempted to throw a folding chair at Rodriguez before Rodriguez fired another shot, hitting him in the buttocks, police said.

Rodriguez was charged with aggravated battery with a deadly weapon and taken to the Brevard County Jail Complex where he is being held without bond.

Anyone with information on the case is asked to call Detective Jesse Tunink at 321-608-6457.

Contact Vazquez at tvazquez@floridatoday.com, 321-917-7491 or on Twitter @tyler_vazquez.