• NSW Tactical Police officers used force to remove a man who sparked a security scare outside NSW Parliament House. (AAP)
Police have rushed in and grabbed a man from a car after a stand-off outside the NSW parliament building.
UPDATED 3:05 PM - 20 Dec 2013

A two-hour stand-off outside NSW Parliament House has ended with heavily armed tactical officers swarming a car and arresting a man.

The man, who appeared to be aged in his late 50s, parked on Macquarie Street in Sydney's inner city about noon on Friday and refused to leave, forcing parliament into partial lockdown.

There were loud bangs and flashes as up to a dozen heavily armed officers in full riot gear rushed the car just before 2pm (AEDT).

With a large fire hose at the ready, the officers sprayed a can of what is believed to be capsicum spray into the driver's side window.

The man was quickly subdued and dragged into police custody.

A police spokesman told AAP the man would be checked by ambulance paramedics.

Hundreds of city workers had gathered at the police cordon to watch the man pass sheets of paper, believed to contain lists of demands, through his car window to a pair of negotiators.

Police officers and firefighters could be seen removing a device from the car before conducting tests on the vehicle.

It has been reported the man had sought a meeting with Premier Barry O'Farrell, who stayed inside parliament throughout the siege.