Probably a corruption of Laganuin maris, lagan being a right, in the middle ages, like jetsam and flotsam, by "which goods thrown from a vessel ffi distress became the proi>erty of the king, or tlie lord on whose shores they were strand-ed. Spelmau; Jacob; Du Cange
Source: Black's Law Dictionary 2nd Ed (1910)