This family ruled in the duchy until the end of the monarchies in 1918 .
This family ruled in the duchy until the end of the monarchies in the course of the German Revolution of 1918-19 .