The man who shot at a pair outside a downtown Minneapolis gay bar in September has been sentenced to six months in the Hennepin County workhouse.

In the sentence handed down Thursday afternoon, Wayne Odegard, 44, of Blaine, was ordered to undergo chemical dependency and psychological evaluations and to attend anger management class. If he violates any of the conditions of his probation, he could be sent to prison for a year and a day.

Odegard pleaded guilty to terroristic threats in October.

In addition, his probation period was raised from three years to five because of the aggravating factor that his crime was based on the sexual orientation of the victim.

According to the criminal complaint, Odegard was walking downtown about 11 p.m. on Sept. 25 when he saw two men on the sidewalk patio outside of the Saloon, 830 Hennepin Av. Odegard uttered a homophobic slur, pulled out a BB gun and fired several shots.

One of the men was hit in the leg, causing a minor injury.

Odegard told police he had seen two other men kissing and that made him angry.