A masked man who violently resisted arrest on a Roosevelt street corner had a loaded .380-caliber handgun in his pocket, Nassau County police said.

Robert Cochran, 47, also tried to grab an officer's gun during the struggle, bit one officer's hand and kneed another officer, police said.

Officers from the Bureau of Special Operations saw Cochran, with a ski mask covering his face, at the corner of St. Francis Street and Madison Avenue in Roosevelt on Wednesday at 12:18 a.m., police said. Cochran lives nearby at 14 Madison Ave.

As officers approached, Cochran walked away and did not respond to repeated orders to stop and take his hands out of his jacket pockets, police said.

"When the officers did stop Cochran, a violent struggle ensured," Nassau County police said in a statement. Additional officers helped the two special operations officers subdue Cochran, who was charged with criminal possession of a weapon, assault and resisting arrest. He was also charged with false personation for giving a phony name to officers, police said.

One officer was treated at a hospital for a laceration to his right hand and another officer was treated for bruises to the right elbow, police said. Cochran was treated for a minor head injury, police said.

Get the latest news and more great videos at NewsdayTV Credit: Newsday

Newsday investigation: Sex buyers go free ... Saving oysters in Great South Bay ... America 250: Nathan Hale ... Get the latest news and more great videos at NewsdayTV

Get the latest news and more great videos at NewsdayTV Credit: Newsday

Newsday investigation: Sex buyers go free ... Saving oysters in Great South Bay ... America 250: Nathan Hale ... Get the latest news and more great videos at NewsdayTV

SUBSCRIBE

Unlimited Digital AccessOnly 25¢for 6 months

ACT NOWSALE ENDS SOON | CANCEL ANYTIME