The Chicago Transit Authority thought it was honoring Black History Month by retweeting photos of a man dressed as Abraham Lincoln on Wednesday.

READ MORE: Despite political representation, many Blacks in Chicago want to move

"In honor of Black History Month, Abraham Lincoln was seen making a guest appearance on the CTA," the agency posted on its Twitter account, retweeting photos of a Lincoln impersonator greeting CTA riders at a Red Line subway stop, reported The Chicago Tribune. The initial photos were posted on Lincoln's birthday, but CTA retweeted the pictures linking Lincoln to Black History Month.

Realizing the flub, CTA deleted the tweet less than an hour later.

"Apologies, unfortunately our last retweet went in a direction that was not at all intended. Nonetheless, we WILL continue to honor the African-Americans who have played a large role in CTA history," CTA said in a tweet. "Unfortunately, the wording we used while sharing one of those moments didn't capture the lighthearted spirit of our customer's original tweet. Based on feedback from our followers, we felt it was best to remove the post, acknowledge those concerns and apologize."

Still, it wasn't before people saw it and slammed the agency for getting it wrong.

"Yeah clearly someone lost their damn mind posting that tweet as a true dedication to Black History Month," one Twitter user said, according to The Chicago Tribune.

READ MORE: Brigham Young University and Black students condemn racist questions at Black History Month program

Lincoln signed the Emancipation Proclamation in 1863, which freed slaves in the antebellum south, so perhaps this was in the mind of the person responsible for retweeting the Lincoln photos and linking the images to Black History Month.

Although this was clearly a miss, in early February, CTA got it right by posting historical photos of former African-American CTA employees on its Twitter feed.