as quasimodo returns to the cathedral, esmeralda meets phoebus, the captain of the guard, who has her confined, instead of arresting her. esmeralda befriends quasimodo. he helps her escape the cathedral, and she gives him a pendant with a map to the court of miracles, the home of the gypsies. frollo develops lustful feelings towards esmeralda, calling on the virgin mary to protect him from her spell and avoid eternal damnation. the next day, frollo and the guards arrest one of the civilians and burn every buildings. phoebus defies frollo, when he attempts to burn down the house. phoebus falls unconscious at the river seine, but esmeralda rescues him and they head to the cathedral for refuge. the gargoyles try to encourage quasimodo, but he becomes heartbroken when esmeralda has loved phoebus. when frollo returns to the cathedral, he bluffs to quasimodo that he knows the location of the gypsy hideout and frollo will attack at dawn with a thousand men. using esmeralda's map, quasimodo and phoebus travel to the court of miracles, where frollo and the guards capture everyone.