A California man was arrested after climbing a crane at a construction site, taking his pants off and throwing PVC glue at police, KABC reported.

>> Read more trending news

According to police, the man scaled nearly 300 feet up the crane late Sunday at a construction site in Anaheim.

Authorities said the man stayed on the crane for more than an hour, and at one point removed his pants, KABC reported.

After using his own rope to climb down from the crane, the man was arrested after he threw some PVC glue on police officers, the television station reported.