The Western breakwater was finished in 1885 and stretches 860 metres into the sea. Together with the Eastern breakwater it regulates the flow of water from the Daugava River into the sea, also reducing silt levels in the river. The structure of the breakwater is based on piles that are strengthened with rocks. The breakwater has been reconstructed and strengthened several times. During the 19th century, it held a prison for offenders. Approximately ½ of the breakwater has been restored with cement, but the rest of it is in fairly sad shape. Polish King Stefan Báthory ordered the construction of a lighthouse alongside the Daugava in 1528, and the first map to show a lighthouse was produced in 1536. A 1721 list of lighthouses in the Russian Empire notes a pile of rocks at the location upon which a fire was lit. Later there were wooden and stone towers that were destroyed during wars. The current Daugavgrīva lighthouse was built in 1957 and is 35 m high. Its light can be seen at a distance of 18 nautical miles.