NEW YORK - A DoorDash delivery person who was arrested amid protests in Manhattan on Thursday night was doing deliveries at the time, the company tells NY1.

The statement from the company contradicts what police sources had told NY1 earlier. Those police sources claimed the delivery worker was not actually on the job.

"Our records indicate the courier was doing deliveries during the evening the incident took place," DoorDash said.

Police sources also told NY1 that the delivery worker was on a bike and was shouting at police.

The arrest, captured on video, happened on West 108th Street at Central Park West as officers were attempting to disperse a group of demonstrators out past the 8 p.m. to 5 a.m. curfew.

Mayor Bill de Blasio condemned the arrest while speaking to reporters Friday at his daily briefing.

"Essential workers are essential workers. Any essential workers doing their job is exempted from the curfew and we are making that abundantly clear to everyone, to the essential workers themselves, and to the NYPD," de Blasio said.

The delivery person was released and not issued a summons.