The father of two men charged over the brutal bashing of a Victorian Police officer is himself in trouble with the law after he allegedly posted a number of threatening messages on social media.

Jared Pilgren was charged on Wednesday over posting inappropriate messages on Facebook about Assistant Commissioner Chris O'Neill.

You might also be interested in:

Pilgren's two sons Jared and Isaiah Stephens allegedly bashed O'Neill near a train station in Melbourne on Saturday.

"I'd p*** on you Chris O'Neill ya maggot dog. F*** the police and your crew ya swine," Pilgren posted on his personal page.

Victoria Police will also allege Pilgren refused to help detectives track down his two sons after the assault.

"The 49-year-old Southbank man was arrested this morning and has been charged with 'record court proceeding', intimidation of law enforcement officer and use telecommunication device to menace," a spokesperson for Victoria Police told 7NEWS.com.au.

Pilgren will appear in Melbourne Magistrates’ Court later today.