He ruled from 1804 to 1824 .
He reigned from 1804 to 1824 .