Image copyright Getty Images

The government has revised its travel advice for Tunisia where 31 Britons were killed in a terror attack at a resort in Sousse in 2015.

For two years, travellers were told to stay away from the country for all but essential travel.

The Foreign Office has now lifted the advice for the capital Tunis and major tourist resorts.

Britons are still being warned to avoid parts of the south and interior, and the Algerian and Libyan borders.

On 26 June 2015 student Seifeddine Rezgui opened fire on holidaymakers in the resort of Port El Kantaoui, killing 38 people in total.

During the inquest into the death of the 31 Britons a UK judge said that the Tunisian police's response was "at best shambolic and at worst cowardly".

The US, France, Italy and Germany had already relaxed their travel advice before the British government's announcement.

Middle East and North Africa minister Alistair Burt said the change in government advice was "in part due to the security improvements that the Tunisian authorities and tourist industry have made" since the attack.

The Foreign and Commonwealth Office still recommends that travellers should check its website before departing to Tunisia.