Twitter chief executive Jack Dorsey has told US lawmakers the company's algorithms have not always been "impartial".
He said the platform "unfairly" reduced the visibility of 600,000 accounts, including some members of Congress.
But he was unable to immediately say whether a majority of them were Republican, Democratic or otherwise.
Mr Dorsey is being questioned by senators over allegations that Twitter censors conservative voices.
Several Republicans, including US President Donald Trump, have accused Twitter of bias, which the company denies.
"Twitter does not use political ideology to make any decisions, whether related to ranking content on our service or how we enforce our rules," said Mr Dorsey.
However, he said the company had made mistakes.
On Wednesday, the US Department of Justice said it would investigate "growing concern that these companies may be hurting competition and intentionally stifling the free exchange of ideas on their platforms".
What is the Twitter hearing about?
Allegations of censorship were fuelled when Twitter added a "quality filter" to the platform and its search results.
Some users noticed that their tweets no longer appeared in search results and suggested that their content was being hidden, known as a "shadow ban".
Mr Dorsey told senators that the platform used "hundreds of signals" to decide "what to show, down-rank and filter".
"We do not shadow-ban anyone based on political ideology," he said.
He explained that the algorithm had acted on the behaviour of people following accounts - so some politicians were punished for the behaviour of their followers.
"It was unfair", said Mr Dorsey. "We corrected it."
Several senators in the hearing said the investigation was a waste of time.
Democrat Paul Sabanes said the hearing had been triggered by "deep-state conspiracy theories proffered by the president" while fellow Democrat Jerry McNerney said it was an effort by Republicans to motivate their voters.
"President Trump and many Republicans have peddled conspiracy theories about Twitter and other social media platforms to whip up their base and fundraise," said Democrat Frank Pallone.
Mr Pallone said Twitter could not be accused of anti-conservative bias while it allowed President Trump to use it for "juvenile tweets and misinformation".
What else did Mr Dorsey reveal?
- Democrat Eliot Engel asked why Twitter did not require people to verify their identity when registering an account. Mr Dorsey said the platform had systems to detect bots and had prevented half a million fake accounts from even being used
- Asked why Twitter relied on its users to report inappropriate content, Mr Dorsey said it was a "matter of scale" but that it responded quickly to reports based on their severity
- Mr Pallone asked how many human moderators Twitter had in the US and how much they were paid. Mr Dorsey was unable to answer
- Republican Fred Upton asked how Twitter determined whether somebody was trying to manipulate a conversation. Mr Dorsey said the platform was focused on "conversation health", with factors such as "shared attention" taken into account
- Asked whether Twitter's rules were clear, Mr Dorsey said he accepted they were difficult to understand and needed to be "more approachable"
- Republican Adam Kinzinger asked whether Twitter stored user data in Russia. Mr Dorsey replied that Twitter did not have servers in Russia
- Republican Michael Doyle asked explicitly whether Twitter had taken action to censor conservatives. "No," replied Mr Dorsey