A BBC journalist who was fired after tweeting that "Hitler was right" has claimed she is a victim of "trial by social media".

Tala Halawa, who worked as a Palestine specialist for the corporation’s BBC Monitoring Service, was suspended when the comments, posted in 2014, surfaced in May. She was dismissed three weeks later following an investigation.

In July 2014, during the seven-week Gaza War between Israel and Palestine, Ms Halawa wrote on her Twitter profile: "Israel is more Nazi than Hitler … IDF go to hell" along with the hashtags "#HitlerWasRight" and "#PrayForGaza".

The conflict saw Israel launch a military operation on the Gaza Strip in response to Hamas rocket attacks.

Ms Halawa’s tweet was widely criticised on social media after it emerged. Making comparisons "of contemporary Israeli policy to that of the Nazis" is included in the International Holocaust Remembrance Alliance’s definition of anti-Semitism.

In a new Twitter post, Ms Halawa, who reports from the city of Ramallah, said she was "a young Palestinian woman tweeting in the heat of the moment".

"The offensive and ignorant words I posted at the time do not reflect my political views then as much as they do not today," she wrote. "I take pride in the fact that during my four years at the BBC I was always known for my impartiality and professional journalism, even during the most difficult times."

Ms Halawa accused the BBC of having "opted for trial with social media", and claimed it was "capitulating to pressure from external pro-Israel interest groups".

"I recently published a video report for the corporation about celebrities being criticised, trolled and cancelled for supporting Palestinian self-determination. What happened [to me] seems familiar to me both as a Palestinian and as a woman of colour," she said.

Ms Halawa joined the BBC in 2017 and covered the recent violence between Israel and Palestine. This included an explanatory video for BBC Monitoring about the situation in Gaza, which saw clashes between opposing groups.

The BBC was contacted for comment.