BANGOR — A Bangor man is going to prison for 10 years for savagely beating his father and stealing his debit card while high on bath salts.

Frederick Ward was sentenced Wednesday in the Penobscot County Judicial Center in Bangor. He pleaded guilty in April to burglary and robbery charges.

Prosecutors say Ward went to his 72-year-old father’s house last November, assaulted him and demanded his ATM card. When police arrived, the father’s eyes were bruised and swollen shut and he had blood coming from his mouth. He was hospitalized for 22 days.

Prosecutors say Ward was high at the time on the synthetic drug known as bath salts, which can make users delusional and violent.

Ward apologized to his father in court Wednesday.