Original: Created a police burgh in 1881, it merged with Bonnyrigg in 1929.
Simplified: It merged (joined) with Bonnyrigg in 1929.