Quarter galleries are a kind of balcony, typically placed on the sides of the sterncastle, the high, tower-like structure at the back of a ship that housed the officer's quarters. They functioned primarily as latrines for the ship's officers, and in inclement weather they also afforded those officers a view of the forward sails of the ship without having to go outside.[1] On certain vessels and under certain conditions, the quarter galleries could serve as a firing platform for the ship's marines and sharpshooters during boarding actions. The galleries also provided a structure that was ideally suited for attaching decoration and often bore carved wooden sculptures, particularly in the 17th century.