he was president of the legislature and of the national convention