A Niagara Falls man whose false testimony caused dismissal of a drug case in federal court has been sentenced to 22 months in prison by U.S. District Judge Richard J. Arcara, U.S. Attorney William J. Hochul Jr. reported Wednesday. The charge carried a maximum prison sentence of 20 years.

Maurice M. Ubiles, 26, was convicted of obstructing justice. Prosecutors said that he gave false information to narcotics officers about a controlled drug purchase he allegedly made from a suspected dealer. The suspected dealer was arrested and charged in federal court, but charges were dropped after it was learned that Ubiles had lied about the purchase. Police records show that Ubiles had been arrested on drug charges three times since 2009.