The UK economy maintained its sluggish start to the year, despite growth accelerating in the second quarter thanks to a rebound from the services sector.

The Office for National Statistics (ONS) said gross domestic product (GDP) came in line with economists' expectations, growing by 0.3% in its initial estimate for April to June.

It marked a slight improvement on the 0.2% growth seen during the first quarter of the year, but failed to match a reading of 0.7% for the final three months of 2016.

The second quarter performance was underpinned by the services sector, with output expanding by 0.5% between April and June, up from 0.1% for the quarter before.

However, the construction and manufacturing industry held back the economy, falling by 0.9% and 0.5% respectively for the period.

Darren Morgan, ONS head of GDP, said: "The economy has experienced a notable slowdown in the first half of this year.

"While services such as retail and film production & distribution showed some improvement in the second quarter, a weaker performance from construction and manufacturing pulled down overall growth."

The brighter second-quarter performance for the services sector was driven by the retail and the film industry.

Distribution, hotels and restaurants expanded by 1.1% over the period, adding 0.15 percentage points to GDP growth.

Motion pictures were the second biggest contributor from the services sector, growing by 8.2% and bolstering GDP by 0.07%.

The ONS said there was evidence that tax relief on film production has helped boost the industry in recent years.

However, manufacturing swung from 0.3% growth in the first three months of the year to a 0.5% decline for the second quarter following a slowdown in motor vehicle production.

Separate figures for Britain's powerhouse services sector, which accounts for around 80% of the UK economy, showed output grew by 0.2% between April and May.

On an annual basis, GDP grew by 1.7% in the second quarter of 2017, compared with the same period last year.