A Madison man faces drug and theft charges after police found 50 prescription pills while arresting him for taking three movies without paying from Walmart on Tuesday night.

Prosecutors filed charges against Ryan David Alexander, 27, for possession of a legend drug - a drug that requires a doctor's prescription - without a prescription, theft and criminal conversion Wednesday in Jefferson Superior Court.

According to the probable cause affidavit, Madison Police responded to a report of shoplifting at Walmart around 7:30 p.m. Tuesday. Walmart officials told officers they saw Alexander take three children's movies from the electronics department and go into another section where he removed the movies from packing before placing them inside his coat.

Walmart officials told officers that Alexander went to the checkout lanes where he purchased several items, but he did not pay for the movies he had hidden in his coat.

Walmart employees stopped Alexander after he had passed through all points of sale at the store until officers arrived.

Alexander admitted to police that he had taken the movies, the affidavit said. During a search, police also found a prescription bottle with someone else's name on the label and 49.5 white pills inside.

Police determined the pills were Buprenorphine HCI, a generic medication for chronic pain treatment.

Alexander was taken to the Jefferson County Jail. He bonded out of the jail on Wednesday.