NEW YORK (CBSNewYork) — A Brooklyn man is facing assault charges in connection with an unprovoked attack on a married father of two who was punched in the face while riding his bike home from work earlier this month.

Gary Anderson, 26, was arrested Thursday after police received a tip from the public and was charged with two counts of assault.

READ MORE: NYC Primary: Eric Adams Leads Democratic Mayoral Race In First Round Of Results; Andrew Yang Concedes Early

Surveillance video showed what looked to be a random attack on 38-year-old Domingo Tapia in Bedford-Stuyvesant. The video shows Tapia riding his bike across Albany Avenue on Fulton Street just before 1:30 a.m. back on June 8 when the suspect crosses his path, and punches him in the face, CBS2’s Reena Roy reported. The suspect and his friend casually walk away as Tapia falls to the ground, slamming his head on the concrete, Roy reported.

Witnesses made their way to the victim’s side and called 911 as they noticed him lying on the street corner, not moving.

READ MORE: NYC Primary: Guardian Angels Founder Curtis Sliwa Is Projected Winner Of Republican Mayoral Primary

Police say he was rushed in an ambulance to Kings County Hospital where he remains in critical condition.

The victim had sustained severe head trauma and was in a coma after the attack.

A GoFundMe page has raised nearly $10,000 for his wife and children.

MORE NEWS: NYC Primary: So Many Options For Manhattan District Attorney, And Ranked Choice Voting Doesn't Apply

Anderson is due in court Friday afternoon.