The US House of Representatives has voted with a trial due to begin in the Senate in the coming days.