 Soon wagonways were also built in Britain.However, the first use of steam locomotives was in Britain.The invention of wrought iron rails, together with Richard Trevithick's pioneering steam locomotive meant that Britain had the first modern railways in the world.