first republican constitution