There Is a Newer Version of the Maryland Code
Maryland III - Legislative Department Section 17
§ 17.
  No Senator or Delegate, after qualifying as such, notwithstanding he may thereafter resign, shall during the whole period of time, for which he was elected, be eligible to any office, which shall have been created, or the salary, or profits of which shall have been increased, during such term.