A Brooklyn man who filed a federal lawsuit against the NYPD for framing him on a gun charge has settled his case for $100,000 — with the two cops who arrested him on the hook for some of the dough.

Raul Glasgow, now 45, was pulled over in November 2012 in East Flatbush for driving with a forged license — and cops also claimed they found a .45-caliber pistol in the trunk of his car during a search at the 67th Precinct.

But Glasgow insisted the cops set him up. They promised not to impound his car if he had any information about guns or drugs, he said at the time.

Glasgow offered to give them the .45 that he had in his apartment — a gun left with him by a friend.

Brooklyn cop probed for allegedly planting gun in man's trunk

He called his wife and told her to give cops the weapon when they got to his home.

But then the cops charged him with gun possession, he said.

Raul Glasgow of Crown Heights, Brooklyn, filed a federal lawsuit against the NYPD for framing him on a gun charge has settled his case for $100,000. The two cops who arrested him are on the hook for some of the dough, and both officers left the NYPD before they could be slapped with administrative charges. Image by: Todd Maisel/New York Daily News

Arresting Officer John Bonanno in a sworn criminal complaint said the gun was found in the trunk of Glasgow’s car during a search at the 67th Precinct.

But that wasn’t true.

The charges against Glasgow were dropped the following summer, with Assistant District Attorney Vincent Bocchetti saying in the court that the NYPD’s Internal Affairs Bureau “has revealed information that calls into question the veracity of [Bonanno’s] sworn statements as they related to this case.”

Glasgow, who runs a computer repair company, and his wife, Patrina Carter, filed a federal lawsuit naming Bonanno and several other cops, including Sgt. Gary Rich, the supervisor who signed off on the arrest.

IAB later slapped Bonanno and Rich with departmental charges, but the NYPD said that it never got a chance to bring them to trial.

Raul Glasgow offered to give police the .45 caliber Kahr pistol that he had in his apartment — a gun left with him by a friend. He called his wife and told her to give cops the weapon when they got to his home. But then the cops charged him with gun possession, he said.

Rich, an 11-year veteran, quit the force on Sept. 28. Bonanno, a cop since January 2009, did the same last Wednesday,

Glasgow, now 45, was behind bars for 20 days before he made bail.

Under terms of the settlement, Glasgow will get $100,000 -- $95,000 from city coffers, $3,500 from Rich and $1,500 from Bonanno.

Bonanno couldn’t be reached for comment, and a man who answered the door at Rich’s Long Island home saw a reporter’s press pass, shook his head and quickly shut the door.

The city foots the entire bill in settlements and judgments in virtually every case, making the occasional exception when it feels the behavior of the accused officer is egregious and in clear violation of department policy.

rparascandola@nydailynews.com