The Huffington Post writer who called a black Republican senator a "prop" for President Trump has apologized.

Andy Ostroy tweeted out his critique after watching Sen. Tim Scott, R-S.C., stand next to Trump during the GOP's celebration of passing legislation cutting taxes.

"What a shocker... there's ONE black person there and sure enough they have him standing right next to the mic like a manipulated prop," Ostroy said on Twitter. "Way to go @SenatorTimScott. #trump #taxscambill."

Scott wrote back on Twitter that he played a key role in passing the bill, and was not a token black supporter being used by Trump.

"Uh probably because I helped write the bill for the past year, have multiple provisions included, got multiple Senators on board over the last week and have worked on tax reform my entire time in Congress," Scott wrote. "But if you'd rather just see my skin color, pls feel free."

Late Wednesday, Ostroy removed his initial tweet and apologized.

"@SenatorTimScott, earlier I tweeted something that I now agree was unfair," he wrote. "Senator, I regret that tweet & apologize for it. There were many other ways I should've and could've made my point."