This document is a thesis submitted by Rahul Gupta to Thapar University in partial fulfillment of the requirements for a Master of Technology degree in Computer Science and Applications. The thesis is supervised by Dr. Rajesh Kumar and proposes a Firefly Algorithm based optimized routing protocol for Mobile Ad-Hoc Networks (MANETs) to address issues with dynamic topology changes and limited resources in MANETs. The thesis provides background on MANETs, routing protocols, swarm intelligence and the Firefly Algorithm. It then describes the proposed Firefly based routing algorithm and evaluates its performance compared to the Ad-Hoc On-Demand Multipath Distance Vector routing protocol through network simulation experiments.