the duchy of courland and semigallia was a duchy in the baltic region. it existed from 1562 through 1795. it was a vassal state of grand duchy of lithuania and later of poland-lithuania. it became independent in 1791, but was annexed by russian empire in 1795 during third partition of poland.