After stopping one of Fat Tony's operations, Homer practically rids Springfield of crime. However, Fat Tony escapes and vows to kill Homer unless he leaves town. Homer is unable to get protection from the citizens he protects (only Ned Flanders volunteers, but Homer ignores his offer) and Lenny and Carl lock themselves in a jail cell. When Homer does not leave, Fat Tony arrives with a few of his own henchmen (including Johnny Tightlips), as well as mafia muscle—the characters of the "Sopranos" series. Just before they are about to kill Homer, an unseen sniper shoots the mobsters; injuring them and causing them to flee. Safe again, Homer resigns as police chief and offers the job to the first person who comes along, which is Wiggum (who notes that an identical situation is how he became chief in the first place). When Marge thanks him for saving Homer, Wiggum says that he did not shoot anyone, having lost his gun, badge and nearly his squad car. Unbeknownst to them, the person who saved Homer was Maggie, who fires at the mobsters from her window with a scoped sporting rifle.