He went to school in Portarlington and later, while attending school in Rathangan, his school was attacked by the rebels during the rebellion of 1798. He also studied in Edinburgh.