AN Australian-born man known to intelligence authorities for his extreme religious views has been charged over an alleged near-fatal shooting outside a sex club in Sydney's northwest earlier this year.

Milad Bin Ahmad Shah al-Ahmadzai, 23, will appear before Goulburn Local Court today over the May 1 shooting and ambush of a 52-year-old man outside the Aarows nightclub on Bridge St, Rydalmere. The establishment is a 24-hour gay, bisexual and swingers club.

Ahmadzai was arrested at Goulburn prison yesterday and briefly appeared before a magistrate.

The victim sustained significant injuries during the ambush, including extensive damage to his back, foot, and groin.

He was walking back to his car about 1am when the alleged incident unfolded, with CCTV capturing the two men with their faces concealed firing a number of shots.

media_camera Aarows nightclub is a 24-hour gay, bisexual and swingers club in Bridge Street, Rydalmere.

Ahmadzai has been under investigation by the Middle Eastern Organised Crime Squad's Strike Force Maloney ever since , which is still searching for two accomplices.

He was charged with shooting with intent to murder, discharging a firearm with intent to cause grievous bodily harm, assault in company with intent to rob while armed with a dangerous weapon, steal motor vehicle, damage property by fire and take/drive conveyance without consent of owner.