Castlereagh had ensured a declaration against slavery appeared in the text of the Congress of Vienna, committing all signatories to the eventual abolition of the trade. In 1814, France agreed to cease trading, and Spain in 1817 agreed to cease North of the equator, adding to the mandate of the squadron. Early treaties against slave trading with foreign powers were often very weak. As a consequence, until 1835 the squadron could seize vessels only if slaves were found on board at the time of capture; it could not interfere with vessels clearly equipped for the slave trade but with no slaves on board. If slaves were found, a fine of £100 for each one could be levied, a large sum; some slaver captains in danger of being caught had their captives thrown overboard to reduce the fine. In order to prosecute captured vessels and thereby allow the Navy to claim its prizes, a series of courts were established along the African Coast. In 1807, a Vice Admiralty Court was established in Freetown, Sierra Leone. In 1817, several Mixed Commission Courts were established, replacing the Vice Admiralty Court in Freetown. These Mixed Commission Courts had officials from both Britain and foreign powers, with Anglo-Portuguese, Anglo-Spanish, and Anglo-Dutch courts being established in Sierra Leone. Far from the Pax Britannica style policing of the 1840s and 1850s, early efforts to suppress the slave trade were often ineffectual due to a desire to keep on good terms with other European powers. The actions of the West Africa Squadron were "strictly Governed" by the treaties, and officers could be punished for overstepping their authority. Commodore Sir George Ralph Collier, with the 36-gun as his flagship, was the first Commodore of the West Africa Squadron. On 19 September 1818, the navy sent him to the Gulf of Guinea with the orders: "You are to use every means in your power to prevent a continuance of the traffic in slaves." However, he had only six ships with which to patrol over of coast. He served from 1818 to 1821. In 1819, the Royal Navy created a naval station in West Africa at Freetown, the capital of the first British colony in West Africa, Sierra Leone. Most of the enslaved Africans freed by the squadron chose to settle in Sierra Leone, for fear of being re-enslaved if they were simply landed on the coast among strangers. From 1821,