He was appointed naval officer of Philadelphia by President Andrew Jackson and served from 1826 to 1829.
In 1826, President Andrew Jackson appointed him as the naval commander of Philadelphia, a position he held until 1829.