The man was hiding in bushes near Angelina Jolie's son's daycare center

A celebrity photographer was arrested Thursday after he was found hiding in the bushes outside a daycare center attended by Angelina Jolie and Brad Pitt’s son, Maddox.

Clint Brewer, 25, was trying to take pictures of the 4-year-old, Pitt’s publicist, Cindy Guagenti, tells the Associated Press.

It was not clear whether Maddox or either of his parents were present at the time.

The owner of the Malibu property that houses the daycare center made a citizen’s arrest, according to Lt. Crystal Miranda of the Los Angeles County Sheriff’s Department.

Brewer was then detained by a security guard for Pitt and Jolie at about 10:30 a.m. before being arrested on suspicion of trespassing and jailed briefly by L.A. County Sheriff’s deputies, Reuters reports. He was released on $1,000 bail.

According to a sheriff’s spokesperson, he will be ordered to appear in court to face the trespassing charge, a misdemeanor that carries a maximum penalty of a year in county jail.

Jolie, Pitt and their children returned to Malibu last week after Jolie, 31, gave birth to daughter Shiloh Nouvel Jolie-Pitt in Namibia on May 27. The couple are also parents to daughter Zahara, 17 months.

Both children’s surnames were legally changed to Jolie-Pitt in December after Pitt, 42, announced his intention to adopt them.