Invision/AP 1 / 7

LONDON (AP) -- A British High Court judge has ordered paparazzi to stay away from One Direction member Harry Styles.

RELATED: Harry Styles' unwashed shirt sells for thousands

The order from Justice Nicola Davies bars several photographers from pursuing the singer by car or motorcycle, placing him under surveillance and loitering or waiting within 50 meters (164 feet) of his home.

RELATED: The hottest music stars of 2013

Styles' lawyer, David Sherborne, said the singer had gone to court after failing to persuade the photographers to stop their behavior voluntarily.

RELATED: Harry Styles crashes bachelorette party

Sherborne said 19-year-old Styles - one-fifth of the world's biggest boy band -- "is not trying to prevent fans approaching him in the street and taking photos. He remains happy to do that, as he always has."

The court order was originally granted last week. On Monday the judge continued it until another hearing on Jan.13.