sentence: in 1807 , gibraltar merchants had founded a library in bedlam court , as they were denied membership of the garrison library , it being available only to members of the british garrison in the city ( the garrison library functioned not only as a library , but as a club , owned and run by and for military officers ; civilians were excluded , regardless of their prominence ) .