CONCORD, N.H. — A former attorney general and state legislator in Maine has been selected to lead New Hampshire’s largest health foundation.

The Endowment for Health board has chosen Steven Rowe as its new president. He will succeed James Squires, who retired from the foundation last year.

Rowe most recently served as counsel at the Portland-based law firm of Verrill Dana LLP. He served as Maine attorney general from 2001 to 2009. He was speaker of Maine’s House of Representatives from 1999 to 2000.

Rowe starts at the foundation in September.

The foundation was established in 1999. Its mission is to “improve the health and reduce the burden of illness for the people of New Hampshire — especially the vulnerable and underserved.” Since 2001, it has awarded 873 grants totaling more than $35 million for health-related programs.