Men charged after police allegedly 'beaten with iron pole'

Two Sydney men have been charged after a pair of police officers were allegedly beaten with a metal object and punched several times in the face.

The two male constables claim they were set upon by two men who approached them as they spoke to a teen about a stolen car at a home in Doonside about 6pm last night.

A brawl allegedly ensued after they made attempts to arrest the 16-year-old boy.

According to NSW Police, one officer was struck with a metal object, while the other was punched in the face repeatedly.

Two men have been charged after a 'brawl' with police.

Two men have been charged after a ‘brawl’ with police. (Supplied)
A metal object was allegedly used to beat an officer.
A metal object was allegedly used to beat an officer. (Supplied)

The officers drew their guns and used capsicum spray in attempts to bring their alleged attackers under control.

Screams could be heard on footage captured by a neighbour on a mobile phone.

The two men, aged 23 and 55, were taken into custody, alongside the teen, when back-up arrived.

A man speaks to police after two officers were attacked.

A man speaks to police after two officers were attacked. (9NEWS)

Police said one officer had lacerations to his head and suffered a dislocated shoulder. The other reportedly had lacerations to his leg and a suspected broken thumb.

Both were treated at the scene before being taken to Westmead Hospital in a stable condition.

A female student officer who was with the duo escaped injury.

The two officers were treated at the scene before being taken to Westmead Hospital.

The two officers were treated at the scene before being taken to Westmead Hospital. (9NEWS)

The 23-year-old man was also treated for minor injuries at Blacktown Hospital.

Upon his release, he was charged with assaulting a police officer in execution of duty causing actual bodily harm.

The 55-year-old was charged with two counts of assaulting police in execution of duty causing actual bodily harm.

They were both granted strict conditional bail and will appear at Blacktown Local Court next Wednesday.

The teenage boy has been released pending further investigations into the car theft.

© Nine Digital Pty Ltd 2018