The US president has pushed the issue to the forefront of American politics - even at the risk of losing supporters.