Murray, a teacher for Buffalo Public Schools, faces a prison sentence of up to seven years when sentenced Sept. 19.

Murray made some 144 unauthorized ATM withdrawals from the victim’s bank account between July 2011 and August 2012 to pay for a trip to New York City and other personal expenses, District Attorney Frank A. Sedita III said in a statement.

The victim asked Murray to handle his fiances as he underwent medical treatment for severe anxiety, prosecutors said. The anxiety was largely caused by the victim’s efforts to provide for his disabled son.

By stealing the money, Murray took advantage of both his hospitalized friend and the disabled son, Sedita said.