Charlotte Golar Richie, a former state representative from Dorchester who later served in the Patrick and Menino administrations, said Friday she is strongly considering a run for mayor of Boston.

“I am looking at this seriously,” Richie said Friday in an interview. “I have a long history with the city. I love the city. I’ve dedicated my professional life to working in the city.”

If she entered the race, Richie would be the first woman and the first prominent African-American in a field dominated by white men. Richie said she planned to make a decision by next week.

Advertisement - Continue Reading Below

Her consideration of a mayoral bid, Richie said, will have to be weighed against the satisfaction she derives from her current job at YouthBuild USA, a national nonprofit that builds affordable housing and works with young people who have limited prospects for employment and education. Richie works at the headquarters in Somerville as a senior vice president, helping secure state and federal funding.

“I don’t just want to abandon my role here and my commitment to the young people,” Richie said. “But I also know this opportunity to lead the city is once in a lifetime.”

Born in Brooklyn, the 54-year-old Richie has lived in the same house in Dorchester for 26 years. Her husband of almost 29 years is a senior executive at John Hancock. They have two grown daughters.

She was elected to the state House of Representatives in 1994, serving until 1999. Richie was chairwoman of the Housing and Urban Development Committee.

After winning a third term, Richie left the Legislature to work for Mayor Thomas M. Menino as cabinet chief of housing and director of the Department of Neighborhood Development. She managed a 200-person city department with a $100 million budget.

“One of the things he wanted to do was expand the stock of affordable housing,” Richie said of the mayor. “We were able to get housing built in neighborhoods all over the city.”

Richie left the city in 2007 and joined Governor Deval Patrick’s administration as a senior adviser for federal, state, and community affairs. For a year, she headed Patrick’s political committee before joining YouthBuild USA.

Richie was a Peace Corps volunteer in Kenya. She has a bachelor of arts degree from Rutgers University, a master’s degree in journalism from Columbia University, and an MBA from Suffolk University’s Sawyer School of Management.