After months of deadlock, Spanish Prime Minister Pedro Sanchez has secured another term in office. He narrowly won support to form a new government after his Socialist Party signed a coalition deal with Catalan parties who want independence from Spain.