Rob Kardashian has been cleared of all charges after being accused of attacking a female photographer in March.

The 'Keeping Up With The Kardashians' star was due to face trial for misdemeanour battery and petty theft after allegedly attacking photographer Kassandra Perez (also known as Andra Vaik) and stealing her equipment in an altercation in Los Angeles which was sparked by her taking a shirtless picture of him as he worked out at the gym.

However, according to E! News, Los Angeles Superior Court Judge Edward Moreton granted a motion to dismiss the case after Rob's attorney, Robert Shapiro, presented a signed declaration from the photographer that she did not want him prosecuted.

Rob - who has been struggling with his weight ever since breaking up with singer Rita Ora last December - previously insisted the paparazzo was trespassing on private property in order to get a shot of him.

He says he was justified in snatching the memory card out of the camera, with eyewitnesses backing up his claim the photographer was lying in wait in her car in the garage at his West Hollywood gym.

Rob is now believed to have reached a civil agreement with the paparazzo.