The police said a 21-year-old was held in connection with three fires, including two at properties linked to the British prime minister.