Not to be a republican at twenty is proof of want of heart; to be one at thirty is proof of want of head.
In the above link it is also stated that variations on this quotation were later attributed to Disraeli, Shaw, Churchill, and Bertrand Russell.