COCAINE rap solicitor Aonghus McCarthy ­celebrates having his drug case struck out by hitting the town.

McCarthy, who insisted someone else put the drugs in his wallet at a party, danced the night away after avoiding a criminal conviction.

6 Aonghus McCarthy danced the night away in the Turk's Head

The lawyer was granted a reprieve by a judge after he was found with cocaine in his wallet while on a professional visit to Mountjoy Prison in Dublin.

And our photos show McCarthy busting a move while out at a trance night.

The 32-year-old turned up at the Turk's Head on Dublin’s Parliament Street to take in top DJ Jon O’Bir’s vinyl-only bash.

McCarthy hit the town last Saturday for the “trance classics night”, just four days after his cocaine court case was struck out after he donated €1,250 to a drug addiction treatment unit.

6 McCarthy on the dancefloor

Our images show the legal eagle, one of the best paid criminal legal aid solicitors in the country, is also an expert on the dancefloor.

A source told the Irish Sun: “McCarthy was there for hours and had a great night. He arrived before midnight and stayed for a good few hours. You can see he was in great form.

“He was dancing away a lot of the time, he had some good moves.

"He was loving the music. The event went on until the early hours.

McCarthy sported a Hugo Boss T-shirt, a big gold chain and a baseball cap as he let his hair down at the trance night.

6 Aonghus is one of the best paid criminal legal aid solicitors in Ireland

The event — billed as British DJ O’Bir’s big return to Dublin — was promoted on social media as a must-attend gig for trance music lovers.

The promo said: “Godkitchen’s Trance Legend, Jon O’Bir returns to Dublin for the first time in over five years to host Irish Trance Family’s 100% Vinyl Only Night with support from local talent, Derek Jones, Dean Brennan and Mark Daly.

“As this is a vinyl-only night, expect pure trance classics all night long, Trance & Clubbing as it use to be...”

McCarthy lapped up the beats last weekend after escaping a criminal conviction just days earlier.

The Dublin-based solicitor was found with drugs in his wallet while visiting Mountjoy Prison.

Cocaine worth €26 and weighing 0.33 grammes was found when his wallet was searched at the jail.

McCarthy maintained someone else put the drugs in his wallet at a party.

He had originally been charged last November with conveying a controlled drug into Mountjoy Prison or to a person in the prison, on February 8, 2017, a charge he denied.

6 McCarthy was loving the music in the Turk's Head

However in January an ­additional but less serious charge of unlawful possession of the drug was brought.

On February 5, when the case resumed, Judge Gerry Jones noted the State was not proceeding with the more serious allegation, which can carry a 12-month sentence. A guilty plea was then entered to the less serious charge of possession.

The court heard that McCarthy had visited the jail in a professional capacity at 6.30pm on February 8 last year. He had placed some items, including his belt and wallet, in a tray to be scanned.

6 McCarthy enjoys the tunes provided by DJ Jon O’Bir

A prison officer became concerned when she saw a black patch in the wallet and the X-ray machine was stopped. A plastic packet containing a white substance was recovered.

The solicitor was interviewed by Garda Finbarr Brennan and denied owning the cocaine. He made a voluntary statement without legal representation present.

Garda Sgt Zita Woods told Dublin District Court that McCarthy had accepted the cocaine was found in his wallet but had no idea how it got there.

He claimed that “someone else must have put it in there”, possibly someone he had gone to a party with.

He told the interviewing garda: “I do not do drugs and I would not risk the entirety of my career. I don’t know who did do it and will ask around.”

The defence pointed out that the solicitor, who is from Co Cork but whose practice is at Conyngham Road, Dublin 8, had been on a professional visit to Mountjoy Prison and would have been well aware that he would be searched.

The defence said he placed himself at the mercy of the court. McCarthy’s solicitor had pleaded with the court to note it was a very small amount of drugs and he had a good future.

6 McCarthy on his way to court

Jude Jones had told McCarthy last month he would be spared a criminal conviction for the offence if he made a donation to the Merchant Quay drug project.

The judge said McCarthy was in a “noble profession”.

But Judge Jones insisted the lawyer was being treated the same as any other defendant and declared: “He will get one chance and one chance only.”

And after McCarthy donated €1,250 to the drug addiction treatment centre, the lawyer was granted a strike-out last Tuesday when the case resumed before Judge Grainne O’Neill.

Judge O’Neill, now presiding, noted from defence solicitor Miska Hanahoe that there was a receipt to confirm he had made the requested donation.

She affirmed the order made by her colleague Judge Jones and struck out the case. A conviction would have jeopardised McCarthy’s career as a solicitor.

Figures show McCarthy is one of the best paid criminal legal aid solicitors in the country.

Most Read in News 'no other choice' Irish expert warns of Europe-wide lockdown lasting 3 months after Xmas MAJOR RECALL Dunnes Stores and Lidl pull chicken pieces from sale over listeria fears Party Shutdown Gardai shut down party in north Dublin as dozens seen fleeing house Road tragedy Man killed on N7 after car driving on wrong side of road ploughed into him 'SERIOUS RISK' Facebook may not provide its services in the EU after Ireland's DPC decision Exclusive military waste Defence Forces homes at Curragh Camp allowed fall into squalid conditions

According to the Department of Justice, McCarthy’s practice received €1.093 million in criminal legal aid fees from the State over the past five years.

He received €287,460 last year, putting him among the top 20 best-paid solicitors involved with the criminal legal aid scheme.

When approached by the Irish Sun about the night out, McCarthy did not comment.