Mr Peters dominated in economically struggling towns such as Kaikohe (Kaikohe East 135:54, Kaikohe Intermediate 73:44), Kaitaia (153:95) and Kaeo (198:97) but also in prosperous areas such as Russell (264:210) and Waipapa (358:305). He won all the larger towns in the Kaipara (Dargaville 257:168, Ruawai 149:135, Maungaturoto 235:140 and Paparoa 191:157).
Mr Peters put his win down to "taking the road less travelled" in his Force for the North bus tour, visiting places that might not have seen a politician for years.
Mr Osborne lost even in his hometown of Taipa (170 votes to 257) and nearby Mangonui (231:327).
Labour's Willow-Jean Prime won only 12 votes in her home town of Moerewa, the same number as Mr Osborne. Labour leader Andrew Little had called on the party's supporters to vote for NZ First. In Whananaki, where Mr Peters grew up, NZ First gained 40 votes to National's 26.
In his speech at Russell's Duke of Marlborough on Saturday night, Mr Peters put his win down to his efforts to visit "tens of thousands of forgotten people" in every corner of the electorate.
You can do you own analysis using this interactive map of the byelection results.