Follow CBSDFW.COM: Facebook | Twitter

BIRMINGHAM, Ala. (AP) — Attorney General Loretta Lynch, in her final speech as head of the Justice Department, praised the work of the Obama administration to advance the dream of justice and said worries of difficult days ahead should be a call for action, not despair.

READ MORE: Police: Dallas Officer Arrested, Charged With Driving While Intoxicated

Speaking in Birmingham, Alabama, just days before leaving office with the inauguration of President-elect Donald Trump, Lynch praised the work of President Barack Obama and acknowledged — without mentioning Trump by name— some voters’ anxieties for the future.

“I know that while our accomplishments should make us proud, they must not make us complacent. We cannot stop. We have to work. I know that in our pursuit of a brighter future, we still face headwinds. We still face oppositions. We see it. Waves of hatred, waves of intolerance and injustice that are still blowing in this country, and they seem to grow stronger the more that we achieve, Lynch said.

Lynch took the pulpit of Birmingham’s 16th Street Baptist Church for a celebration ahead of Martin Luther King Jr. Day. The church was site of a 1963 Ku Klux Klan bombing that killed four girls just weeks after King delivered his “I Have A Dream” speech. The Obama administration this week named the church and other Birmingham civil rights landmarks as a national monument.

Lynch drew parallels between the church bombing that killed the four girls and the massacre of nine people at a Bible study at Mother Emanuel AME in Charleston, South Carolina, in 2015. She said 50 years after the civil rights movement there are “new attempts to erect barriers to the voting booth.”

“Fifty years after that we still see our fellow Americans targeted simply because of who they are – not only for their race, but for their religion, sexual orientation and gender identity, as well,” Lynch said.

Lynch praised the work of the Obama administration and the Justice Department to urge community policing tactics, fight voting restrictions and prosecute hate crimes.

READ MORE: US Border Agents Receiving Help On Custody Work, Returning To Field

Some in the predominantly African-American congregation and crowd said they were openly mourning the end of the Obama presidency.

“I cried. I cried. I never thought in my lifetime I would live to see the day that there was an African-American president,” Tara Banks said.

Banks brought her granddaughter Kimorah Thomas to the church on her eighth birthday to learn about King’s legacy and hear Lynch, the first female African-American to hold the post of U.S. attorney general.

Lynch said she recognized the anxiety that some have about what is ahead, referencing Trump without saying his name.

“And I have seen the fear that, with the turn of the electoral wheel, so many of us will be seen as children of a lesser God. I have seen all that. … I’ve heard you,” Lynch said.

But Lynch added she has also seen the determination of men and women dedicated to the future of the country.

Yes, these are challenging times and yes, we undoubtedly have more challenges to come. But many of our greatest strides, in equal rights, in human rights and civil rights have come after heartbreaking loss. …. We are Americans and we have always pushed forward,” Lynch said.

MORE NEWS: US Ramps Up Plan To Expel Thousands Of Haitian Migrants Gathered In Texas

(© Copyright 2017 The Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed.)