According to court documents, Johnson told investigators he was "experiencing financial difficulties" and used the money to pay bills.

SUN LAKES, Ariz. — A Maricopa County Sheriff’s deputy was arrested in connection with a theft while he was on duty, according to MCSO.

MCSO said 39-year-old Gregory Todd Johnson responded to a report of a shooting in Sun Lakes on Oct. 28.

According to court documents, Johnson was the first deputy to respond and enter the home where he found the man dead in the master bedroom of the home.

Court documents show Johnson was wearing his department-issued body-worn camera the entire time he was inside the home.

After paramedics pronounced the man dead at the scene, a stack of money wrapped in a rubber band could be seen on a dresser in the body cam footage, court documents said.

According to court documents, Johnson is seen and heard on the body cam footage counting the money before exiting the home.

Photos of the scene later showed the stack of cash was missing from the dresser, court documents said.

According to court documents, the man's family notified MCSO about the missing money.

Investigators with MCSO interviewed Johnson, who admitted to the theft, investigators said.

Johnson said there was between $500 to $600 that he took from the man's bedroom, court documents said.

According to court documents, Johnson told investigators he was "experiencing financial difficulties" and used the money to pay bills. He said he "never deposited" any of the cash into a bank account.