Edward F. Davis, the outgoing commissioner of the Boston Police Department, has accepted a consulting position with Community Resources for Justice.

Davis, who will step down at the end of the month after a seven-year tenure, will help former convicts transition back to their communities through a network of halfway houses, said Boston.com. He will also work with the group’s Crime and Justice Institute, a research and policy arm that focuses on public policy.

Davis has also accepted a fellowship at Harvard University’s Institute of Politics.