This text is missing some spaces, please add them: In1848thejointcolonywasgrantedresponsiblegovernmentexceptinmattersofforeignaffairs.
In 1848 the joint colony was granted responsible government except in matters of foreign affairs.