In May 1851 Boole was elected as Dean of Science a role he carried out conscientiously

What is the correctly punctuated version of this sentence?
In May 1851 Boole was elected as Dean of Science, a role he carried out conscientiously.