The son of a police chief in California charged with attacking a 71-year-old Sikh man grinned and waved his middle fingers in the air during his first court appearance on Friday.

Tyrone McAllister, 18, was seen on video giving the finger and smiling to a Fox40 cameraman, the outlet reports. He then drops his hands to his lap before throwing up his middle finger a second time.

McAllister was in court for his arraignment. No bail was set for the teen.

Tyrone McAllister was seen smiling and waving his middle fingers at a cameraman during his first court appearance on Friday

McAllister appeared in court for his arraignment for allegedly a Sikh man. No bail was set for the teen

On Monday, 71-year-old Sahib Singh was attacked by two young men during his morning walk in Manteca, California.

The attack was captured by surveillance cameras and showed the two thugs beating the man while dressed in hoodies. One, who was wearing a black hoodie, was brandishing a gun.

Police identified him as McAllister, the estranged son of Union City Police Department Chief Daryl McAllister.

In a lengthy Facebook post on Wednesday, Chief McAllister told of his disgust at learning his son was involved after being contacted by Manteca Police Department, the investigating department.

'Words can barely describe how embarrassed, dejected, and hurt my wife, daughters, and I feel right now.

'My stomach has been churning from the moment I learned this news, ' he added.

The police chief and his wife then helped officers track his son down and arrest him.

Sahib Singh, 71, was left with serious injuries after being attacked in the street on Monday

The teen has been charged with attempted robbery, elder abuse and assault with a deadly weapon.

The other suspect is a 16-year-old male who has not been named.

Singh, the victim, struggles with English and had difficulty telling police what happened to him after the attack

He was arrested on the same charges and will be transferred to a juvenile facility after being processed.

In his Facebook post, Chief McAllister told how his son had fallen into a 'bad crowd' and had not been at the family home for months.

'My son began to lose his way a couple years ago, while he was a juvenile, running away and getting involved in a bad crowd,' he posted.

'He pretty much divorced his friends and family, associating with people none of us knew.'

'He got into trouble for some theft-related crimes and ended up spending several months in juvenile hall,' Chief McAllister added.

'As an adult, he was again arrested for a theft-related incident, and he ended up spending another three months in adult jail as a result.

'Since being released he has been wayward and has not returned to our family home for several months,' he wrote.

The police chief said he was torn between the desire to protect his child and the oath he took as a law enforcement leader.

Tyrone McAllister, 18, was arrested for the brutal beating of a Sikh man in California on Wednesday. Tyrone is the son of Union City Police Chief Daryl McAllister who helped authorities investigating the incident track the the teen down to arrest him

Ultimately, he decided to help the Manteca Police Department find Tyrone to arrest him.

'My wife and I worked with Manteca PD to help them track him down and arrest him.

'He now faces serious felony charges for which, if convicted, he stands to spend a considerable about of time in prison. My family is shaken to the core. His sisters (one corporate and the other about to start law school), are at a loss to understand any of this.

'It's difficult for us to comprehend how one of three kids who grew up with the same parents, under the same roof, with the same rules and same values and character could wander so far astray.

'We simply don't know why, or how we got here. In the eyes of the public, no matter the irrelevance to the incident, the fact remains that the father of the perpetrator of this despicable crime is a police chief, period.

'One cannot expect the general public (our Sikh community in particular) to factor in any sentiment that would distinguish this from the integrity of my family name. I pray that we, as a community, in conjunction with my family, can get through this and be even stronger as a result,' he said.

Tyrone is pictured on surveillance camera footage, kicking the elderly Sikh man while wearing a black hoodie

Tyrone is also accused of brandishing a gun during the attack. He was arrested along with a 16-year-old who is not being named because of his age

Chief McAllister announced his son's arrest in a lengthy statement on Facebook

Footage of the attack showed the young men approaching Singh and speaking to him before jumping him.

Singh, who struggles with English, later told that he did not understand what the men were saying.

He was left with serious injuries which required him to wear a neck brace.

Singh is one of two Sikh men who have been attacked in small Californian communities in the last week.

The two are not thought to be connected.

Surjit Malhi was putting up campaign signs for local Republicans at night when two men ambushed him, throwing sand in his eyes before beating him in the head, shoulders and neck on July 31.

Police said Monday they are looking for the two men who beat Malhi and spray-painted a neo-Nazi symbol on his truck in what they branded a hate crime.

Malhi, 50, said the men screamed at him to 'go back to your country' before spray-painting the same message and a white supremacist symbol on his truck.