Former NFL quarterback Ryan Leaf pleaded guilty Tuesday to charges that he broke into a Montana home and illegally possessed painkillers, part of a deal with prosecutors that recommends he spend nine months in a secure drug treatment facility.