Administrative Distance is reliability assigned by routers to a routing protocol. When a router learns the same route from different routing protocols, then the route learned from protocol with the lowest Administrative Distance (AD) is preferred over the others. For example the router learns a route to 192.168.1.0/25 via OSPF and via RIP, then the one learned via OSPF is the preferred one.