A large extent of the Malaysia–Singapore border is defined by the Agreement between the Government of Malaysia and the Government of the Republic of Singapore to delimit precisely the territorial waters boundary in accordance with the Straits Settlement and Johore Territorial Waters Agreement 1927 as being straight lines joining a series of 72 geographical coordinates roughly running about 50 nautical miles along the deepest channel (thalweg) between the western and eastern entrances of the Straits of Johor.