A quarter gallery is an architectural feature of the stern of a sailing ship from around the 16th to the 19th century.
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.
[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.
As small, wing-like extensions of the stern, the quarter galleries were difficult to secure to the hull and in rough weather were sometimes torn from it completely.