Faults in distribution networks can result in severe transients, equipment failure, and power outages. The quick and accurate detection of the faulty section enables the operator to avoid prolonged power outages and economic losses by quickly retrieving the network. However, the occurrence of diverse fault types with various resistances and locations and the highly non-linear nature of distribution networks make fault section detection challenging for numerous conventional techniques. This study presents a cutting-edge deep learning-based algorithm to distinguish fault sections in distribution networks to address these issues. The proposed gated recurrent unit model utilizes only two samples of the angle between the voltage and current on either side of the feeders, which record by smart feeder meters, to detect faulty sections in real time. When a network fault occurs, the protection relays trigger the trip command for the breakers. Immediately, the angle data are obtained from all smart feeder meters of the network, which comprises a pre-fault sample and a post-fault sample. The data are then employed as an input to the pre-trained gated recurrent unit model to determine the faulted line. The performance of this novel algorithm was validated through simulations of various fault types in the IEEE-33 bus system. The model recognizes the faulty section with competitive performance in terms of accuracy.