OSPF DR/BDR Election explained

Hi,

I have a question, In the process of election DR/ BDR, who will elect first? DR or BDR ?
I have only one router in my setup. I configured OSPF on that router and I started debug message. After the end of wait period ( dead interval 40 sec), router considers himself as BDR and then moved to DR .
please explain me, in the election process, will BDR is elected first or DR ?

Below is the debug message:

 R1#
    *Mar  1 00:01:12.207: %SYS-5-CONFIG_I: Configured from console by console
    R1#
    *Mar  1 00:01:18.215: OSPF: Send hello to 224.0.0.5 area 0 on FastEthernet0/0 from 100.100.100.1
    R1#
    *Mar  1 00:01:28.215: OSPF: Send hello to 224.0.0.5 area 0 on FastEthernet0/0 from 100.100.100.1
    R1#
    *Mar  1 00:01:38.215: OSPF: end of Wait on interface FastEthernet0/0
    *Mar  1 00:01:38.215: OSPF: DR/BDR election on FastEthernet0/0
    *Mar  1 00:01:38.215: OSPF: Elect BDR 13.1.1.1
    *Mar  1 00:01:38.215: OSPF: Elect DR 13.1.1.1
    *Mar  1 00:01:38.215: OSPF: Elect BDR 0.0.0.0
    *Mar  1 00:01:38.215: OSPF: Elect DR 13.1.1.1
    *Mar  1 00:01:38.215:        DR: 13.1.1.1 (Id)   BDR: none
    *Mar  1 00:01:38.215: OSPF: Send hello to 224.0.0.5 area 0 on FastEthernet0/0 from 100.100.100.1
    R1#
    *Mar  1 00:01:48.215: OSPF: Send hello to 224.0.0.5 area 0 on FastEthernet0/0 from 100.100.100.1
    R1#