to believe any ill about Tartuffe even in the face of her son's actually witnessing it, has become convinced of Tartuffe's duplicity. No sooner does Monsieur Loyal leave than Valère rushes in with the news that Tartuffe has denounced Orgon for aiding and assisting a traitor by keeping the incriminating letters and that Orgon is about to be arrested. Before Orgon can flee, Tartuffe arrives with an officer, but to his surprise, the officer arrests him instead. The officer explains that the enlightened King Louis XIV—who is not mentioned by name—has heard of the injustices happening in the house and, appalled by Tartuffe's treachery towards Orgon, has ordered Tartuffe's arrest instead. It is revealed that Tartuffe has a long criminal history and has often changed his name to avoid being caught. As a reward for Orgon's previous good services, the king not only forgives him for keeping the letters but also invalidates the deed that gave Tartuffe possession of Orgon's house and possessions. The entire family is thankful that it has escaped the mortification of both Orgon's potential disgrace and their dispossession. The drama ends well, and Orgon announces the upcoming wedding of Valère and Mariane. The surprise twist ending, in which everything is set right by the unexpected benevolent intervention of the heretofore unseen king, is considered a notable modern-day example of the classical theatrical plot device deus ex machina. Controversy Though Tartuffe was received well by the public and even by Louis XIV, it immediately sparked conflict amongst many different groups who were offended by the play's portrayal of someone who was outwardly pious but fundamentally mercenary, lecherous, and deceitful; and who uses their profession of piety to prey on others. The factions opposed to Molière's work included part of the hierarchy of the French Roman Catholic Church, members of upper-class French society, and the illegal underground organization called the Compagnie du Saint-Sacrement. Tartuffes popularity was cut short when the archbishop of Paris Péréfixe issued an edict threatening excommunication for anyone who watched, performed in, or read the play. Molière attempted to assuage church officials by rewriting his play to seem more secular and less critical of religion, but the archbishop and other leading officials would not budge. The revised, second version of the play was called L'Imposteur and had a main character named Panulphe instead of Tartuffe, the only performance of which occurred in the Palais-Royal theatre