Against All Flags is a 1952 American pirate film starring Errol Flynn as Brian Hawke, Maureen OHara as Prudence Spitfire Stevens and Anthony Quinn as Roc Brasiliano. The films plot is set in 1700, when British officer Brian Hawke infiltrates a group of pirates located on Libertatia on the coast of Madagascar, and falls in love with pirate captain Spitfire Stevens.
At the tribunal Hawke duels one of the pirates with boarding pikes managing to outfight him. Hawke is therefore given permission to join the pirates, and joins Brasilianos crew to prove his worth. While cruising the shipping lanes, they come across a Moghul vessel crammed with luxuries and vast wealth. After a tough battle, it is stormed, and looted. Captured aboard is Patma, the daughter of the Moghul Emperor, who is disguised by her chaperone as just another ordinary woman. She falls in love with Hawke after he rescues her from the burning ship, admitting he is only the third man she has ever seen.When they return to DiegoSuarez, Spitfire is angered by the arrival of Patma. Jealously, when Patma is put up for auction, she outbids Hawke who had wanted to protect her from the other pirates and takes the Indian woman into her service. In a candid moment Spitfire tells Hawke she is planning to leave for England, via Brazil where she can catch a legal ship. She wants Hawke to accompany her there, after which he can take ownership of her ship. Brasilianos hatred of Hawke grows, as he has a fancy for Spitfire himself. ........
Source: Wikipedia