Thames Valley Police provided security and support during Liam Payne's funeral, the force has said. 

Church Street, Amersham was closed off today as the funeral of the One Direction star took place at the St Mary the Virgin Church. 

Scores of residents, fans and press lined the street as the service took place, attended by Simon Cowell, Harry Styles, James Corden and Cheryl Tweedy. 

Now Thames Valley Police has confirmed that it provided support during the funeral service as motorists were diverted from the area. 

READ MORE: Liam Payne funeral live updates from St Mary's Church in Amersham

In a statement on its website, the force said: "You will likely have seen a large funeral service that took place today in Amersham.

"We are aware that this caused some traffic disruption and additional visitors to the town but we have been working with our partners and the event organisers to ensure that this was kept to a minimum.

"Whilst it is uncommon that police and the council support a funeral service, the potential impact on local residents and businesses from additional visitors meant that we put some security and traffic management measures in place.

"Thank you for your patience and co-operation during today. You will continue to see your local neighbourhood team patrolling over the coming days."

The road reopened at around 3pm shortly after the funeral came to an end.