In 1818, Uriel Holmes (F) of resigned from the House. A special election was held to fill the resulting vacancy.
Gilbert took his seat November 16, 1818 at the start of the Second Session.