LOS ANGELES (AP) — Justin Bieber has settled a lawsuit by a photographer who accused the singer of kicking and punching him outside a Calabasas shopping center in 2012.

Photographer Jose Osmin Hernandez Duran sued Bieber in 2013, saying the incident left him with severe emotional distress.

READ MORE: 3-Alarm Blaze Rips Through Abandoned Covina School

Duran’s attorney, Steven Madison, said Wednesday that the case had been resolved but he couldn’t comment further. A trial had been scheduled to start Wednesday.

Bieber was accused of attacking Duran while he was out with singer Selena Gomez, who was his girlfriend at the time.

READ MORE: Protests Continue Outside Sigma Nu House On USC's Fraternity Row As New Sexual Assault Allegations Emerge

The lawsuit says Bieber started to leave a Calabasas shopping plaza but instead got out of his car, ran toward Duran and delivered a flying kick to his gut before punching him in the face.

Bieber’s attorney, Howard Weitzman, declined to comment.

MORE NEWS: Lawmaker Calls For Change On California Film Sets After Prop-Gun Shooting Death Of Halyna Hutchins By Alec Baldwin

(Copyright 2016 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.)