Kanye West
Singer Kanye West performs during the last concert on the main stage of the Coachella Valley Music & Arts Festival in Indio, Calif., April 17, 2011. Reuters/Mike Blake

Kanye West pleaded no-contest Monday to a misdemeanor charge of battery against photographer Daniel Ramos at Los Angeles International Airport in a special plea that allows the rapper to maintain his innocence.

West’s lawyer, Blair Berk, entered the plea on behalf of the rapper, who did not attend the court hearing. West was given two years probation and ordered to complete 250 hours of community service. Under the terms of the plea, West is also required to complete 24 sessions of a level-two anger management program and stay 100 yards away from Ramos.

"I simply asked him a question, and I didn't use any vulgar language," Ramos reportedly told Judge Alan Rubin, who handed down the sentence on Monday. "In fact, I gave him a compliment and told him that he was cool."

Ramos added: "I was only doing my job, and he broke the law," adding that, "I believe that if I did what he did to me, I would have been put behind bars."

Rubin reportedly said that he would review the community service to make sure West is not getting special treatment.

The altercation between West and Ramos was caught on video, which took place on July 13, 2013. The video reportedly shows Ramos and other photographers standing on the sidewalk in front of LAX to photograph celebrities. 'Kanye, can we talk to you, Kanye?' Daniel shouts after spotting West exiting the terminal. “What's going on? Why can't we talk to you? I mean why?”

According to the lawsuit that was filed: “West stopped walking, put his bag down at his car and turned and spoke to Daniel. Then without warning or provocation, West suddenly attacked Daniel, punching him and attempting to wrestle Daniel's camera from his hands.”

"Daniel held onto his camera and fell down onto his knees onto the paved sidewalk with enough force that he sustained injuries to his right hip, was in great pain, and had to be transported in an ambulance to the emergency room," Gloria Allred, Ramos’ attorney, reportedly said while restating the details of the lawsuit in a statement after the verdict was reached.

West’s next hearing will take place on July 17 regarding the restitution that he has been ordered to pay to Ramos.