The resistance led the government of France to replace the island's civil governor, Hippolyte Laroche, with a military governor, Joseph Gallieni. The day before Gallieni arrived in Antananarivo, he had a message sent to the queen requiring her to present herself and her entourage at the military headquarters, preceded by a standard bearer carrying a French flag. The queen was obliged to sign documents handing over all royal property to France before being placed under arrest and imprisoned in her own palace. She was only allowed to receive visitors who had obtained prior authorization from Gallieni himself. While imprisoned, Ranavalona offered to convert to Roman Catholicism in an attempt to curry French favor but was informed that such a gesture was no longer necessary.