Please answer the following question: Facts: - death place: swarthdale , england - caption: sir robert barrie - battles: war of 1812 . - allegiance: ukgbi - commands: calypso pomone 1805 6 cockburn 1827 6 1783 6 dragon 1798 6 brilliant 1804 6 - death date: 07 june 1841 - awards: knight commander of the royal guelphic order commander of the order of the bath knight - birth date: 05 may 1774 - serviceyears: 1788-1841 - name: sir robert barrie - branch: ukgbi - laterwork: commissioner of the dockyard at kingston - image: sir robert barrie.jpg - birth place: st. augustine , florida - rank: rear-admiral Based on these bullet points, write a short biography describing the life of robert barrie .
Answer:
sir robert barrie kcb , kch -lrb- 5 may 1774 -- 7 june 1841 -rrb- was a british officer of the royal navy noted for his service in the war of 1812 .he was helped early in his naval career by the patronage of his uncle , sir alan gardner , who arranged for him to take part in the vancouver expedition .when the pacific coast was explored , he had served as a midshipman with captain vancouver in 1791 .he served in european waters from 1801 to 1811 .he was mentioned in dispatches for his gallant conduct in a fight with a french squadron when , '' though dangerously wounded , he had disdained to quit the deck '' .barrie then commanded a number of ships during the french revolutionary and napoleonic wars .in 1804 he had been promoted captain commanded '' brilliant '' at 24-guns and in 1806 he went to '' pomone '' at 38-guns .on 5 june 1807 , he attacked a convoy of seventeen ships , sank three men-of-war , and captured fourteen other warships and store ships .he captured a privateer commanded by de boissi , the adjutant-general of france .in 1809 , he captured a french warship and five transports .in 1811 he captured a corsican fort and three french men-of-war .in 1811 , he captured several important french prisoners , including napoleon 's brother lucien bonaparte on a french ship .he was particularly active during the war of 1812 , carrying out several successful attacks on american towns and shipping in the penobscot river region , and helping to destroy the chesapeake bay flotilla .from 1813 to 1815 he served in the '' dragon '' in american waters , and here again he made many captures .after a brief period spent living in france barrie took up the post of acting commissioner of the quebec dockyard 1817-1818 .by 1819 , he served as commissioner of the dockyard at kingston .he was active in a number of areas , building and expanding the dockyard and promoting important hydrographic surveys and the construction of canals .between 1819 and 1820 captain barrie , as flag officer of the great lakes ,...