First republican president